Loading topic
npm or npx commands in a terminal.2 min readnpm commands. This chapter focuses on using a diagnostic's error code to find the right explanation instead of searching the entire error message blindly.2 min readnpx tsc from a terminal. This chapter focuses on reading a diagnostic whose message contains several levels of detail.2 min readstrictNullChecks, a compiler option that treats undefined as a separate type.2 min readtsc from a terminal. You will learn why TypeScript reports TS7006, how contextual typing affects parameters, and how to fix the error without hiding useful type information.2 min readtsc. A module is a file or package that another file can import. TypeScript reports TS2307 when it cannot locate the module or its type declarations.2 min readnpx tsc from a terminal.2 min readtsc and reading ordinary type mismatch errors.2 min read