Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eaa825f

Browse filesBrowse files
salman-aziz-4425aduh95
authored andcommitted
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 Refs: #60282 PR-URL: #60288 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
1 parent b36a898 commit eaa825f
Copy full SHA for eaa825f

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/typescript.md‎

Copy file name to clipboardExpand all lines: doc/api/typescript.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ namespace A {
154154
}
155155
```
156156

157-
Since Decorators are currently a [TC39 Stage 3 proposal](https://github.com/tc39/proposal-decorators)
158-
and will soon be supported by the JavaScript engine,
157+
Since Decorators are currently a [TC39 Stage 3 proposal](https://github.com/tc39/proposal-decorators),
159158
they are not transformed and will result in a parser error.
160-
This is a temporary limitation and will be resolved in the future.
159+
Node.js does not provide polyfills and thus will not support decorators until
160+
they are supported natively in JavaScript.
161161

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.