From 7b7e28ad6ad8fb8628bebefa5cbe35f2891fe135 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 24 Sep 2021 12:34:31 -0400 Subject: [PATCH] test: fix utils test --- packages/compiler-core/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, {