Skip to content

Commit 7b7e28a

Browse files
committed
test: fix utils test
1 parent fc85ad2 commit 7b7e28a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-core/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export const isMemberExpressionBrowser = (path: string): boolean => {
163163
}
164164

165165
export const isMemberExpressionNode = __BROWSER__
166-
? NOOP
166+
? (NOOP as any as (path: string, context: TransformContext) => boolean)
167167
: (path: string, context: TransformContext): boolean => {
168168
try {
169169
let ret: Expression = parseExpression(path, {

0 commit comments

Comments
 (0)