2.0.0 • Published 2 years ago
@volar-plugins/pretty-ts-errors v2.0.0
@volar-plugins/pretty-ts-errors
Volar plugin for pretty-ts-errors.
Usage
package.json
{
"devDependencies": {
"@volar-plugins/pretty-ts-errors": "latest",
"prettier": "latest"
}
}
volar.config.js
module.exports = {
plugins: [
require('@volar-plugins/pretty-ts-errors').default(
type => require('prettier').format(type, {
parser: 'typescript',
printWidth: 60,
singleAttributePerLine: false,
arrowParens: 'avoid',
});
),
],
};
2.0.0
2 years ago
2.0.0-alpha.23-patch.2
2 years ago
2.0.0-alpha.23-patch.1
2 years ago
2.0.0-alpha.23
2 years ago