Skip to content

Commit

Permalink
Update packages/compiler-sfc/src/script/resolveType.ts
Browse files Browse the repository at this point in the history
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
  • Loading branch information
edison1105 and sxzz authored Jun 13, 2023
1 parent 79a11c6 commit 91aab1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-sfc/src/script/resolveType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function resolveInterfaceMembers(
}
}
if (calls) {
;(base.calls || (base.calls = [])).push(...calls)
;(base.calls ||= [])).push(...calls)
}
} catch (e) {
ctx.error(
Expand Down

0 comments on commit 91aab1b

Please sign in to comment.