]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(compiler-sfc): support defineEmits type reference with unions (#8299)
author三咲智子 Kevin Deng <sxzz@sxzz.moe>
Thu, 18 May 2023 04:59:12 +0000 (12:59 +0800)
committerGitHub <noreply@github.com>
Thu, 18 May 2023 04:59:12 +0000 (12:59 +0800)
commitb133e0fd97b0b4fabbb43151c19031b8fb47c05b
treed1895d0fc13e95d20ae589bfb1c5f8f108142386
parent17d37d6a04b05b0ef0016c90f38b9d0a26030db8
fix(compiler-sfc): support defineEmits type reference with unions (#8299)

close #7943
packages/compiler-sfc/__tests__/compileScript/__snapshots__/defineEmits.spec.ts.snap
packages/compiler-sfc/__tests__/compileScript/defineEmits.spec.ts
packages/compiler-sfc/src/script/defineEmits.ts
packages/compiler-sfc/src/script/resolveType.ts