feat: 增加ts别名
This commit is contained in:
parent
dee344909f
commit
d2b2673fc4
|
@ -11,7 +11,11 @@
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"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": {
|
"ts-node": {
|
||||||
"esm": true,
|
"esm": true,
|
||||||
|
|
Loading…
Reference in New Issue