Skip to content

update check docs #1668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions runtime/fundamentals/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,19 @@ Deno allows you to type-check your code (without executing it) with the
[`deno check`](/runtime/reference/cli/check/) subcommand:

```shell
# Check the current directory/module
deno check

# Check a specific TypeScript file
deno check module.ts
# or also type check remote modules and npm packages

# Include remote modules and npm packages in the check
deno check --all module.ts
# code snippets written in JSDoc can also be type checked

# Check code snippets in JSDoc comments
deno check --doc module.ts
# or type check code snippets in markdown files

# Check code snippets in markdown files
deno check --doc-only markdown.md
```

Expand Down