new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Deno · Reference · all subjects

cli commands/check

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

deno check basic usage

The deno check command type-checks TypeScript or JavaScript code without running it. It is useful in CI pipelines or before deploying to catch type errors early. Basic usage is `deno check main.ts` to check a single file or `deno check src/server.ts src/utils.ts` to check multiple files.

deno check --check-js flag

The --check-js flag enables type-checking of JavaScript files without requiring // @ts-check comments on every file. Usage: `deno check --check-js main.js`

deno test and deno bench perform type-checking by default

deno test and deno bench already perform type-checking by default. You do not need a separate deno check step if you are already running tests. Use deno check when you want to type-check without running anything, for example as a fast early step in CI.

deno check --all flag

By default, only local modules are type-checked by deno check. Use the --all flag to also type-check remote dependencies. Usage: `deno check --all main.ts`

deno check directories and globs

You can pass directories or globs as positional arguments to deno check to type-check a whole tree at once. Examples: `deno check src/` to check all files in a directory, or `deno check "src/**/*.ts"` to check all TypeScript files in src and subdirectories.

deno check exit status in CI

deno check exits with a non-zero status code if there are type errors, making it suitable for CI pipelines. This allows using it in shell commands like `deno check main.ts && echo "Types OK"`.

deno check command

deno check is used to type check a program without running it.

Give your agent this brain