|
|
@@ -149,7 +149,7 @@ export interface ComponentOptionsBase<
|
|
|
emits?: (E | EE[]) & ThisType<void>
|
|
|
// TODO infer public instance type based on exposed keys
|
|
|
expose?: string[]
|
|
|
- serverPrefetch?(): Promise<any>
|
|
|
+ serverPrefetch?(): void | Promise<any>
|
|
|
|
|
|
// Runtime compiler only -----------------------------------------------------
|
|
|
compilerOptions?: RuntimeCompilerOptions
|