Problem Description
The tsconfig.json should enable strict nullish checks for better type safety.
Context
Enabling strictNullChecks catches more bugs at compile time but requires code changes.
Files to Investigate
tsconfig.json - TypeScript configuration
- All TypeScript files - Fix resulting type errors
Steps to Reproduce
- Add strictNullChecks: true to tsconfig.json
- Run pnpm typecheck
- Observe type errors
Expected Behavior
Code should pass type checking with strict nullish checks enabled.
Acceptance Criteria
Suggested Approach
Enable the flag, then systematically fix each type error with proper null checks.
Difficulty: Hard
Estimated time: 3-6 hours
Prerequisites: Advanced TypeScript
Learning outcomes: TypeScript strict mode, null safety
Problem Description
The tsconfig.json should enable strict nullish checks for better type safety.
Context
Enabling strictNullChecks catches more bugs at compile time but requires code changes.
Files to Investigate
tsconfig.json- TypeScript configurationSteps to Reproduce
Expected Behavior
Code should pass type checking with strict nullish checks enabled.
Acceptance Criteria
Suggested Approach
Enable the flag, then systematically fix each type error with proper null checks.
Difficulty: Hard
Estimated time: 3-6 hours
Prerequisites: Advanced TypeScript
Learning outcomes: TypeScript strict mode, null safety