koot icon indicating copy to clipboard operation
koot copied to clipboard

CLI: 选择是否使用 koot-redux

Open Diablohu opened this issue 5 years ago • 0 comments

如果选择使用,types/modules.d.ts 里添加

declare module 'redux' {
    interface Dispatch<A extends Action = AnyAction> {
        <T extends A>(actionId: string, action: T): Promise<T>;
    }
}

Diablohu avatar Nov 25 '19 11:11 Diablohu