◐ Shell
clean mode source ↗

doc: move typescript support to active development · nodejs/node@34c6882

Original file line numberDiff line numberDiff line change

@@ -1042,7 +1042,7 @@ Use this flag to enable [ShadowRealm][] support.

10421042

added: v22.6.0

10431043

-->

10441044
1045-

> Stability: 1.0 - Early development

1045+

> Stability: 1.1 - Active development

10461046
10471047

Enable experimental type-stripping for TypeScript files.

10481048

For more information, see the [TypeScript type-stripping][] documentation.

@@ -1096,7 +1096,7 @@ Enable module mocking in the test runner.

10961096

added: v22.7.0

10971097

-->

10981098
1099-

> Stability: 1.0 - Early development

1099+

> Stability: 1.1 - Active development

11001100
11011101

Enables the transformation of TypeScript-only syntax into JavaScript code.

11021102

Implies `--experimental-strip-types` and `--enable-source-maps`.

Original file line numberDiff line numberDiff line change

@@ -276,7 +276,7 @@ resolution and loading behavior. See [Customization hooks][].

276276

added: REPLACEME

277277

-->

278278
279-

> Stability: 1.0 - Early development

279+

> Stability: 1.1 - Active development

280280
281281

* `code` {string} The code to strip type annotations from.

282282

* `options` {Object}

Original file line numberDiff line numberDiff line change

@@ -2009,7 +2009,7 @@ This value is therefore identical to that of `process.features.tls`.

20092009

added: v22.10.0

20102010

-->

20112011
2012-

> Stability: 1.0 - Early development

2012+

> Stability: 1.1 - Active development

20132013
20142014

* {boolean|string}

20152015
Original file line numberDiff line numberDiff line change

@@ -7,7 +7,7 @@ changes:

77

description: Added `--experimental-transform-types` flag.

88

-->

99
10-

> Stability: 1.0 - Early development

10+

> Stability: 1.1 - Active development

1111
1212

## Enabling

1313

@@ -50,7 +50,7 @@ To use TypeScript with full support for all TypeScript features, including

5050

added: v22.6.0

5151

-->

5252
53-

> Stability: 1.0 - Early development

53+

> Stability: 1.1 - Active development

5454
5555

The flag [`--experimental-strip-types`][] enables Node.js to run TypeScript

5656

files. By default Node.js will execute only files that contain no