@ts-refinement/typescript-plugin
v0.2.0
Published
TypeScript language-service diagnostics for ts-refinement
Maintainers
Readme
@ts-refinement/typescript-plugin
The official TypeScript language-service plugin for ts-refinement diagnostics.
npm install ts-refinement
npm install --save-dev @ts-refinement/typescript-plugin typescript{
"compilerOptions": {
"plugins": [
{
"name": "@ts-refinement/typescript-plugin"
}
]
}
}The shared analyzer is bundled into this CommonJS package so tsserver can load it without crossing an ESM/CommonJS package boundary.
This package provides editor diagnostics and the ts-patch Program Transformer for TypeScript 5.7
through 6.x. Use tspc --noEmit in CI, a supported unplugin adapter for runtime transforms, and
ts-refinement verify from prepack. RF1000500 is reported as a warning when a publishable package
exposes refinements without configured verification.
See the repository README for editor setup and supported diagnostics.
