diff --git a/packages/compiler-core/src/utils.ts b/packages/compiler-core/src/utils.ts index 493c8093..374f0a87 100644 --- a/packages/compiler-core/src/utils.ts +++ b/packages/compiler-core/src/utils.ts @@ -163,7 +163,7 @@ export const isMemberExpressionBrowser = (path: string): boolean => { } export const isMemberExpressionNode = __BROWSER__ - ? NOOP + ? (NOOP as any as (path: string, context: TransformContext) => boolean) : (path: string, context: TransformContext): boolean => { try { let ret: Expression = parseExpression(path, {