fix: ts提示
This commit is contained in:
@ -20,9 +20,6 @@
|
|||||||
"./packages/*"
|
"./packages/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false
|
||||||
"types": [
|
|
||||||
"element-plus/global"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -7,6 +7,11 @@
|
|||||||
"path": "./tsconfig.app.json"
|
"path": "./tsconfig.app.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"compilerOptions": {
|
||||||
|
"types": [
|
||||||
|
"element-plus/global"
|
||||||
|
]
|
||||||
|
},
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "CommonJS",
|
"module": "CommonJS",
|
||||||
|
Reference in New Issue
Block a user