We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
serverPrefetch()
1 parent d7f63a1 commit 5f1883eCopy full SHA for 5f1883e
packages/runtime-core/src/componentOptions.ts
@@ -149,7 +149,7 @@ export interface ComponentOptionsBase<
149
emits?: (E | EE[]) & ThisType<void>
150
// TODO infer public instance type based on exposed keys
151
expose?: string[]
152
- serverPrefetch?(): Promise<any>
+ serverPrefetch?(): void | Promise<any>
153
154
// Runtime compiler only -----------------------------------------------------
155
compilerOptions?: RuntimeCompilerOptions
0 commit comments