| title | oldUrl | command | openGraphLayout | openGraphTitle | description |
|---|---|---|---|---|---|
deno check |
/runtime/manual/tools/check/ |
check |
/open_graph/cli-commands.jsx |
deno check |
Download and type-check code without execution |
Type-check a TypeScript file without execution:
const x: string = 1 + 1n;deno check example.tsIf you have a JavaScript-only project and want to type-check it with Deno, you
can use the --check-js flag instead of adding // @ts-check to every file or
setting compilerOptions.checkJs in your deno.json:
deno check --check-js main.js