diff --git a/packages/runtime-core/src/componentOptions.ts b/packages/runtime-core/src/componentOptions.ts index 36ba0d5166a..8ae13b013fa 100644 --- a/packages/runtime-core/src/componentOptions.ts +++ b/packages/runtime-core/src/componentOptions.ts @@ -147,7 +147,7 @@ export interface ComponentOptionsBase< emits?: (E | EE[]) & ThisType // TODO infer public instance type based on exposed keys expose?: string[] - serverPrefetch?(): Promise + serverPrefetch?(): void | Promise // Runtime compiler only ----------------------------------------------------- compilerOptions?: RuntimeCompilerOptions