Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 694 Bytes

Cleanups.md

File metadata and controls

23 lines (16 loc) · 694 Bytes

Cleanups

After TypeStat has applied all the fixes it can to files, there may still be some general cleanups that need to be applied. Most commonly, any remaining TypeScript type errors may need to be suppressed with // @ts-expect-error.

Each classification of cleanups can be individually configured in your typestat.json file. These all default to false but can be enabled by being set to true.

{
	"cleanups": {
		"suppressTypeErrors": true
	}
}

Cleaners

suppressTypeErrors

Whether to add a // @ts-expect-error comment directive before each remaining type error.

See suppressTypeErrors/README.md.