mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update definition 'KosModel.asyncs' for '@types/kos-core' (#30197)
* Update definition 'KosModel.asyncs' * Update version to 0.4
This commit is contained in:
parent
cb131229b7
commit
cd69e97b8b
4
types/kos-core/index.d.ts
vendored
4
types/kos-core/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for kos-core 0.3
|
||||
// Type definitions for kos-core 0.4
|
||||
// Project: https://github.com/ali-Kos/Kos
|
||||
// Definitions by: alibaba ali-Kos <https://github.com/ali-Kos>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@ -40,7 +40,7 @@ export interface KosModel<T = any> {
|
||||
[key: string]: (state: T, { payload }: { payload: T }) => void;
|
||||
};
|
||||
asyncs: {
|
||||
[key: string]: (dispatch: KosDispatch, getState?: GetKosState<T>) => void;
|
||||
[key: string]: (dispatch: KosDispatch, getState: GetKosState<T>, action: Action) => void;
|
||||
};
|
||||
setup?: (dispatch: KosDispatch, getState: GetKosState<T>) => void;
|
||||
getAsync?: (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user