From 1bab53e717ffe4bc1f4410925dde20e6a73055ab Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 16 Jul 2021 16:56:51 -0400 Subject: [PATCH] chore: remove deprecated defineEmit & useContext APIs --- packages/runtime-core/src/apiSetupHelpers.ts | 18 -------------- packages/runtime-core/src/index.ts | 3 --- test-dts/setupHelpers.test-d.ts | 26 -------------------- 3 files changed, 47 deletions(-) diff --git a/packages/runtime-core/src/apiSetupHelpers.ts b/packages/runtime-core/src/apiSetupHelpers.ts index 08a94f7b..2c0fa241 100644 --- a/packages/runtime-core/src/apiSetupHelpers.ts +++ b/packages/runtime-core/src/apiSetupHelpers.ts @@ -109,11 +109,6 @@ export function defineEmits() { return null as any } -/** - * @deprecated use `defineEmits` instead. - */ -export const defineEmit = defineEmits - /** * Vue `