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
Next Next commit
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
  • Loading branch information
salman-aziz-4425 committed Oct 17, 2025
commit e901ba8e99ed9ad3669a76360d629e09053346e1
5 changes: 2 additions & 3 deletions doc/api/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,9 @@ namespace A {
}
```

Since Decorators are currently a [TC39 Stage 3 proposal](https://github.com/tc39/proposal-decorators)
and will soon be supported by the JavaScript engine,
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.
This is a temporary limitation and will be resolved in the future.
Node.js does not provide polyfills for decorators and will not support them until they are supported natively in JavaScript.

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