strictNullChecks is currently disabled (for legacy reasons) in tsconfig.json but should be enabled.
strictNullChecks
tsconfig.json