Types

March 25, 2024 ยท View on GitHub

strictNullChecks

Whether to override the project's --strictNullChecks setting. If true, TypeStat will set strictNullChecks to true regardless of your tsconfig.json.

{
	"types": {
		"strictNullChecks": true
	}
}

This interacts with fixers in a few ways:

  • Type additions will now include null and/or undefined
  • Property Accesses will have !s added as needed