From 8508c130f826a83ca8799e1e8e85807819944dcd Mon Sep 17 00:00:00 2001 From: Oliver Massaad Date: Sat, 14 Nov 2026 01:08:57 -0500 Subject: [PATCH] docs: use stable --no-strip-types flag name Type stripping is stable; the disable flag was renamed from --no-experimental-strip-types to --no-strip-types. --- pages/typescript/run-natively.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/typescript/run-natively.md b/pages/typescript/run-natively.md index 15fcfb8..6fa52e3 100644 --- a/pages/typescript/run-natively.md +++ b/pages/typescript/run-natively.md @@ -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