From 67c1d26cb0af3eb2db0a11fc7768a8299e7f7d58 Mon Sep 17 00:00:00 2001 From: xonx <119700621+xonx4l@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:28:47 +0530 Subject: [PATCH] fix(types): correct serverPrefetch this type (#13068) close #12488 --- types/options.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/options.d.ts b/types/options.d.ts index 19c339f745..458bc9f2b9 100644 --- a/types/options.d.ts +++ b/types/options.d.ts @@ -210,7 +210,7 @@ export interface ComponentOptions< activated?(): void deactivated?(): void errorCaptured?(err: Error, vm: Vue, info: string): boolean | void - serverPrefetch?(this: V): Promise + serverPrefetch?(): Promise renderTracked?(e: DebuggerEvent): void renderTriggerd?(e: DebuggerEvent): void