Strict Mode
Strict mode enables a set of type-checking options that catch more errors.
Learning Objectives
Lesson Outline
Strict mode enables a set of type-checking options that catch more errors.
strictNullChecks: null/undefined are distinct typesstrictFunctionTypes: stricter function parameter checkingstrictPropertyInitialization: class properties must be initializednoImplicitAny: error on implicit any typenoImplicitThis: error on implicit this