Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions website/docs/en/config/source/decorators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Used to configure the decorators syntax.

Specify the decorator syntax version to be used.

If you want to know the differences between different decorators versions, you can refer to: [How does this proposal compare to other versions of decorators?](https://github.com/tc39/proposal-decorators?tab=readme-ov-file#how-does-this-proposal-compare-to-other-versions-of-decorators)

### 2022-03

`2022-03` corresponds to the Stage 3 decorator proposal, equivalent to the decorator syntax supported by TypeScript 5.0 by default.
Expand Down
2 changes: 2 additions & 0 deletions website/docs/zh/config/source/decorators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ type Decorators = {

指定需要使用的装饰器语法版本。

如果你希望了解不同装饰器版本的区别,可以参考:[How does this proposal compare to other versions of decorators?](https://github.com/tc39/proposal-decorators?tab=readme-ov-file#how-does-this-proposal-compare-to-other-versions-of-decorators)

### 2022-03

`2022-03` 对应装饰器 Stage 3 提案,等价于 TypeScript 5.0 默认支持的装饰器语法。
Expand Down
Loading