Skip to content

Commit 961576e

Browse files
doc: update decorator documentation to reflect actual policy
- Remove misleading 'will soon be supported' language - Remove 'temporary limitation' claim - Clarify that Node.js does not provide polyfills - State that decorators will be supported when implemented natively - Apply team member feedback for better clarity Refs: #60282
1 parent 9618ecc commit 961576e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ 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
163+
Node.js does not provide polyfills and thus will not support decorators until
164164
they are supported natively in JavaScript.
165165

166166
In addition, Node.js does not read `tsconfig.json` files and does not support

0 commit comments

Comments
 (0)