skipLibCheck
The compiler option that skips type checking of all declaration files, including those of installed packages, to speed up builds.
In more detail
Your own .ts files are still fully checked. It avoids errors caused by conflicting type packages you cannot fix, at the cost of missing real problems inside .d.ts files.
Related terms
- declaration file — A file ending in .d.ts that contains only type information describing JavaScript that exists elsewhere, with no runnable code.
- lib (compiler option) — The compiler option that lists which built-in type declarations are available, such as ES2022 features or browser DOM types.
Taught in
- tsconfig.json: target, lib, strict And NodeNext — Production TypeScript