Skip to content

Glossary: TypeScript Beyond the Basics

checkJs

Also written: "checkJs": true

A tsconfig option that makes TypeScript type-check `.js` files too. Adding `// @ts-check` as a file's first line checks just that file.

Where the book teaches it

Related terms

allowJsJSDoc