feat: 增加ts别名

This commit is contained in:
ningmengchongshui 2024-06-10 00:14:21 +08:00
parent dee344909f
commit d2b2673fc4
2 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,11 @@
"jsx": "react",
"allowJs": false,
"suppressImplicitAnyIndexErrors": true,
"typeRoots": ["node_modules/@types"]
"typeRoots": ["node_modules/@types"],
"paths": {
"#miao": ["./plugins/miao-plugin/components/index.js"],
"#miao.models": ["./plugins/miao-plugin/models/index.js"]
}
},
"ts-node": {
"esm": true,