]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: fix utils test
authorEvan You <yyx990803@gmail.com>
Fri, 24 Sep 2021 16:34:31 +0000 (12:34 -0400)
committerEvan You <yyx990803@gmail.com>
Fri, 24 Sep 2021 16:34:31 +0000 (12:34 -0400)
packages/compiler-core/src/utils.ts

index 493c80934ffdddeadc76ae22c56092c37da41964..374f0a87145579f711d1897a246e958fe076e6ee 100644 (file)
@@ -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, {