StrictNullChecks
StrictNullChecks is a TypeScript compiler option that affects how the language handles null and undefined. When enabled, null and undefined have their own distinct types and values of other types cannot include them unless explicitly allowed. This increases type safety by preventing common runtime errors caused by null references.
Under strictNullChecks, variables declared with a non-nullable type such as string or number cannot be assigned
Enabling: In a tsconfig.json file, set "strictNullChecks": true or enable the broader "strict" mode which turns
Impact and usage: The option is widely adopted for safer codebases. It complements other TypeScript checks