Skip to content

Commit 67c1d26

Browse files
authored
fix(types): correct serverPrefetch this type (#13068)
close #12488
1 parent 74ca5a1 commit 67c1d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/options.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export interface ComponentOptions<
210210
activated?(): void
211211
deactivated?(): void
212212
errorCaptured?(err: Error, vm: Vue, info: string): boolean | void
213-
serverPrefetch?(this: V): Promise<void>
213+
serverPrefetch?(): Promise<void>
214214
renderTracked?(e: DebuggerEvent): void
215215
renderTriggerd?(e: DebuggerEvent): void
216216

0 commit comments

Comments
 (0)