We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a99c667 commit f75a39dCopy full SHA for f75a39d
types/options.d.ts
@@ -26,7 +26,7 @@ export type AsyncComponentPromise<Data=DefaultData<never>, Methods=DefaultMethod
26
) => Promise<Component | EsModuleComponent> | void;
27
28
export type AsyncComponentFactory<Data=DefaultData<never>, Methods=DefaultMethods<never>, Computed=DefaultComputed, Props=DefaultProps> = () => {
29
- component: AsyncComponentPromise<Data, Methods, Computed, Props>;
+ component: Promise<Component | EsModuleComponent>;
30
loading?: Component | EsModuleComponent;
31
error?: Component | EsModuleComponent;
32
delay?: number;
0 commit comments