Skip to content

Commit b892bc0

Browse files
committed
feat: 允许 JS
1 parent 9473a13 commit b892bc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"paths": { "@/*": ["src/*"] },
1717
"resolveJsonModule": true,
1818
"types": ["vite/client", "element-plus/global"],
19+
// 允许 JS
20+
"allowJs": true,
1921
// TS 严格模式
2022
"strict": true,
2123
"importHelpers": true,

0 commit comments

Comments
 (0)