Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
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
  • Loading branch information
salman-aziz-4425 committed Oct 17, 2025
commit 961576e39e456db8c5fc8bbfd38fc7a1b02572d6
2 changes: 1 addition & 1 deletion doc/api/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ namespace A {

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

In addition, Node.js does not read `tsconfig.json` files and does not support
Expand Down
Loading