Skip to content
Open
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
4 changes: 2 additions & 2 deletions pages/typescript/run-natively.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Node.js does not type check your code when it runs TypeScript files. Use the Typ
npx tsc --noEmit
```

You can disable it via [`--no-experimental-strip-types`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--no-experimental-strip-types) flag if needed.
You can disable it via the [`--no-strip-types`](https://nodejs.org/docs/latest/api/cli.html#--no-strip-types) flag if needed (renamed from `--no-experimental-strip-types` when type stripping became stable).

```bash
node --no-experimental-strip-types example.ts
node --no-strip-types example.ts
```

## Constraints
Expand Down
Loading