Browse Source

test: fix utils test

pull/4675/head
Evan You 4 years ago
parent
commit
7b7e28ad6a
  1. 2
      packages/compiler-core/src/utils.ts

2
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, {

Loading…
Cancel
Save