We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57506ca commit 11e72c6Copy full SHA for 11e72c6
types/index.d.ts
@@ -37,8 +37,8 @@ export declare class Store<S> {
37
export declare function install(Vue: typeof _Vue): void;
38
39
export interface Dispatch {
40
- (type: string, payload?: any, options?: DispatchOptions): Promise<any[]>;
41
- <P extends Payload>(payloadWithType: P, options?: DispatchOptions): Promise<any[]>;
+ (type: string, payload?: any, options?: DispatchOptions): Promise<any>;
+ <P extends Payload>(payloadWithType: P, options?: DispatchOptions): Promise<any>;
42
}
43
44
export interface Commit {
0 commit comments