From e32920649cc10556a99c6c3a4839216cfb7911b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E5=90=B9=E8=89=B2=E5=BE=A1=E5=AE=88?= <85992002+KazariEX@users.noreply.github.com> Date: Tue, 15 Jul 2025 02:21:50 +0800 Subject: [PATCH] fix(runtime-core): remove global declared script setup helpers --- .../types/scriptSetupHelpers.d.ts | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 packages/runtime-core/types/scriptSetupHelpers.d.ts diff --git a/packages/runtime-core/types/scriptSetupHelpers.d.ts b/packages/runtime-core/types/scriptSetupHelpers.d.ts deleted file mode 100644 index a9ba734a53d..00000000000 --- a/packages/runtime-core/types/scriptSetupHelpers.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Note: this file is auto concatenated to the end of the bundled d.ts during -// build. -type _defineProps = typeof defineProps -type _defineEmits = typeof defineEmits -type _defineExpose = typeof defineExpose -type _defineOptions = typeof defineOptions -type _defineSlots = typeof defineSlots -type _defineModel = typeof defineModel -type _withDefaults = typeof withDefaults - -declare global { - const defineProps: _defineProps - const defineEmits: _defineEmits - const defineExpose: _defineExpose - const defineOptions: _defineOptions - const defineSlots: _defineSlots - const defineModel: _defineModel - const withDefaults: _withDefaults -}