refactor: remove any

This commit is contained in:
三咲智子 Kevin Deng 2023-08-28 01:17:44 +08:00
parent 4885b3e7c7
commit ed27b2bc8f
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E

View File

@ -90,7 +90,7 @@ export default ({
filename: filename, filename: filename,
source: file.code, source: file.code,
options: this.compileOptions || {}, options: this.compileOptions || {},
ast: file.ast.program.body as any, ast: file.ast.program.body,
error(msg, node) { error(msg, node) {
throw new Error( throw new Error(
`[@vue/babel-plugin-resolve-type] ${msg}\n\n${filename}\n${codeFrameColumns( `[@vue/babel-plugin-resolve-type] ${msg}\n\n${filename}\n${codeFrameColumns(