Skip to content

Commit 9618ecc

Browse files
doc: update decorator documentation to reflect actual policy
- Remove misleading 'soon' language - Remove 'temporary limitation' claim - Clarify that Node.js will not provide polyfills - Wait for native JavaScript engine support - Fix line length to meet linting requirements Refs: #60282
1 parent e901ba8 commit 9618ecc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/typescript.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ namespace A {
160160

161161
Since Decorators are currently a [TC39 Stage 3 proposal](https://github.com/tc39/proposal-decorators),
162162
they are not transformed and will result in a parser error.
163-
Node.js does not provide polyfills for decorators and will not support them until they are supported natively in JavaScript.
163+
Node.js does not provide polyfills for decorators and will not support them until
164+
they are supported natively in JavaScript.
164165

165166
In addition, Node.js does not read `tsconfig.json` files and does not support
166167
features that depend on settings within `tsconfig.json`, such as paths or

0 commit comments

Comments
 (0)