typewiz.json
Typewiz configuration file
| Type | object |
|---|---|
| File match |
typewiz.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/typewiz-json/latest.json |
| Source | https://www.schemastore.org/typewiz.json |
Validate with Lintel
npx @lintel/lintel check
Properties
2 nested properties
If given, all the file paths in the collected type info will be resolved relative to this directory.
Path to your project's tsconfig file. This is required for several other options like implicit this instrumentation and type inference using static analysis.
3 nested properties
Try to find even more types by combining static analysis with the runtime analysis. TypeWiz will try to use TypeScript's inferred types when determining the type of a function argument.
Find type of this in non-class member functions. Requires common.tsConfig to be set
Don't add a declaration of $_$twiz to instrumented files.
1 nested properties
A prefix that will be added in front of each type applied. You can use a javascript comment to mark the automatically added types. The prefix will be added after the colon character, just before the actual type.