diff --git a/packages/runtime-core/src/componentOptions.ts b/packages/runtime-core/src/componentOptions.ts index f864f39e419..5db6a0a1760 100644 --- a/packages/runtime-core/src/componentOptions.ts +++ b/packages/runtime-core/src/componentOptions.ts @@ -416,20 +416,20 @@ interface LegacyOptions< extends?: Extends // lifecycle - beforeCreate?(): void - created?(): void - beforeMount?(): void - mounted?(): void - beforeUpdate?(): void - updated?(): void - activated?(): void - deactivated?(): void + beforeCreate?(): any + created?(): any + beforeMount?(): any + mounted?(): any + beforeUpdate?(): any + updated?(): any + activated?(): any + deactivated?(): any /** @deprecated use `beforeUnmount` instead */ - beforeDestroy?(): void - beforeUnmount?(): void + beforeDestroy?(): any + beforeUnmount?(): any /** @deprecated use `unmounted` instead */ - destroyed?(): void - unmounted?(): void + destroyed?(): any + unmounted?(): any renderTracked?: DebuggerHook renderTriggered?: DebuggerHook errorCaptured?: ErrorCapturedHook