typescript-girlboss
v0.0.4
Published
Time to gaslight typescript! :3
Downloads
318
Readme
typescript-girlboss
Time to gaslight typescript! :3
This module provides both a TypeScript Language Server plugin, and a ts-patch plugin. It does nothing on its own, but it provides its own plugin framework for interacting and editing the TypeScript AST and diagnostics using the same code.
Here's an example tsconfig.json
with typescript-girlboss
plugins:
{
"compilerOptions": {
// ...other options...
"plugins": [
{
"name": "typescript-girlboss",
"plugins": [
{ "name": "typescript-ignore-leftmost-nullish-literal-errors" },
],
},
{ "transform": "typescript-girlboss/transform", "transformProgram": true },
]
}
}
For an example plugin, see typescript-ignore-leftmost-nullish-literal-errors
.
And for all options on what a plugin can do, see the main interface in GirlbossPlugin
.