diff --git a/packages/runtime-core/src/componentOptions.ts b/packages/runtime-core/src/componentOptions.ts index 2e15b17dfec..d0009a9f4eb 100644 --- a/packages/runtime-core/src/componentOptions.ts +++ b/packages/runtime-core/src/componentOptions.ts @@ -149,7 +149,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