sort buckets risk matrix score chips Sort each TSConfig option into the risk it most directly addresses. Implicit unknown shape Missing or nullable value Uninitialized class state Unchecked lookup noImplicitAny catches an untyped callback parameter noImplicitAny catches a destructured value with no source type strictNullChecks catches reading an optional property as definitely present strictNullChecks catches using a .find() result without handling no match strictPropertyInitialization catches a class field not set in the constructor strictPropertyInitialization catches a service dependency that may stay unset noUncheckedIndexedAccess catches rows[0] as possibly absent noUncheckedIndexedAccess catches usersById[id] as possibly missing
Read the full lesson
Sign up free: one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in