Skip to content

Commit 0bd3972

Browse files
authored
Update website/docs/zh/guide/basic/typescript.mdx
1 parent 9259bb4 commit 0bd3972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/zh/guide/basic/typescript.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ export default {
6565

6666
## 装饰器版本
6767

68-
默认情况下,Rslib 会使用 [`2022-03`](https://rsbuild.rs/zh/config/source/decorators) 版本的装饰器。
68+
默认情况下,Rslib 会使用 [`2022-03`](https://rsbuild.rs/zh/config/source/decorators#2022-03) 版本的装饰器。
6969

7070
如果在 `tsconfig.json` 中启用了 [experimentalDecorators](https://www.typescriptlang.org/tsconfig/#experimentalDecorators),Rslib 会默认将 [source.decorators.version](/config/rsbuild/source#sourcedecorators) 设置为 `legacy` 来使用旧版本装饰器。

0 commit comments

Comments
 (0)