From ed27b2bc8f3297a204f3e58dbcafd2216cea695a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Mon, 28 Aug 2023 01:17:44 +0800 Subject: [PATCH] refactor: remove any --- packages/babel-plugin-resolve-type/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin-resolve-type/src/index.ts b/packages/babel-plugin-resolve-type/src/index.ts index 2528876..565de49 100644 --- a/packages/babel-plugin-resolve-type/src/index.ts +++ b/packages/babel-plugin-resolve-type/src/index.ts @@ -90,7 +90,7 @@ export default ({ filename: filename, source: file.code, options: this.compileOptions || {}, - ast: file.ast.program.body as any, + ast: file.ast.program.body, error(msg, node) { throw new Error( `[@vue/babel-plugin-resolve-type] ${msg}\n\n${filename}\n${codeFrameColumns(