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
Type: object

Properties

common object
2 nested properties
rootDir string

If given, all the file paths in the collected type info will be resolved relative to this directory.

tsConfig string

Path to your project's tsconfig file. This is required for several other options like implicit this instrumentation and type inference using static analysis.

instrument object
3 nested properties
instrumentCallExpressions boolean

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.

Default: false
instrumentImplicitThis boolean

Find type of this in non-class member functions. Requires common.tsConfig to be set

Default: false
skipTwizDeclarations boolean

Don't add a declaration of $_$twiz to instrumented files.

Default: false
applyTypes object
1 nested properties
prefix string

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.