mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-15 08:19:16 +08:00
refactor: remove any
This commit is contained in:
parent
4885b3e7c7
commit
ed27b2bc8f
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user