Coding task · JavaScript and TypeScript course · Module 6: TypeScript Basics

Strict Mode - Practice

Fix the code so it works with strict mode enabled - handle undefined, add missing returns, and use path aliases.

Task

Fix strict mode issues: strictNullChecks, noUncheckedIndexedAccess, noImplicitReturns, and configure path aliases.