0.0.4 • Published 1 year ago

typescript-girlboss v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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.

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago