Type checks in typescript, to prevent bugs
Use strictNullChecks
along with noImplicitAny
:
"compilerOptions": {
"strictNullChecks": true,
"noImplicitAny": true,
}
to run strict validations in typescript to prevent possible bugs due to objects being undefined
Tweet