fix(types): correct serverPrefetch this type (#13068)

close #12488
This commit is contained in:
xonx 2023-10-23 12:28:47 +05:30 committed by GitHub
parent 74ca5a13ba
commit 67c1d26cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
types/options.d.ts vendored
View File

@ -210,7 +210,7 @@ export interface ComponentOptions<
activated?(): void activated?(): void
deactivated?(): void deactivated?(): void
errorCaptured?(err: Error, vm: Vue, info: string): boolean | void errorCaptured?(err: Error, vm: Vue, info: string): boolean | void
serverPrefetch?(this: V): Promise<void> serverPrefetch?(): Promise<void>
renderTracked?(e: DebuggerEvent): void renderTracked?(e: DebuggerEvent): void
renderTriggerd?(e: DebuggerEvent): void renderTriggerd?(e: DebuggerEvent): void