Skip to content

Commit 91aab1b

Browse files
edison1105sxzz
andauthored
Update packages/compiler-sfc/src/script/resolveType.ts
Co-authored-by: 三咲智子 Kevin Deng <[email protected]>
1 parent 79a11c6 commit 91aab1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/script/resolveType.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ function resolveInterfaceMembers(
341341
}
342342
}
343343
if (calls) {
344-
;(base.calls || (base.calls = [])).push(...calls)
344+
;(base.calls ||= [])).push(...calls)
345345
}
346346
} catch (e) {
347347
ctx.error(

0 commit comments

Comments
 (0)