Restrict null and undefined via Non-Nullable-Types in TypeScript

This lesson introduces the --strictNullChecks compiler option and explains how non-nullable types differ from nullable types. It also illustrates how you can write safer code by being explicit about null and undefined in the type system.

Please take a moment to tell your friends:

You must be a PRO Member to view code