Skip to content

Commit 61071e8

Browse files
authored
feat: tsconfig.package.json增加装饰器相关配置 (#369)
1 parent 20a5c78 commit 61071e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tsconfig.package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"DOM",
77
"ESNext"
88
],
9+
"emitDecoratorMetadata": true, // 启用装饰器元数据
10+
"experimentalDecorators": true, // 启用装饰器
911
"baseUrl": "./",
1012
"module": "ESNext",
1113
"moduleResolution": "node",

0 commit comments

Comments
 (0)