mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
Merge pull request #9791 from kittimiyo/add_redux-saga_delay
adding 'delay' definition to redux-saga DT
This commit is contained in:
Vendored
+4
@@ -45,6 +45,10 @@ declare module 'redux-saga' {
|
||||
|
||||
export function takeLatest(pattern: Pattern, saga: Saga, ...args: any[]): { [Symbol.iterator](): IterableIterator<any> };
|
||||
|
||||
export function delay(ms: number): Promise<boolean>;
|
||||
|
||||
export function delay<T>(ms: number, val: T): Promise<T>;
|
||||
|
||||
export function isCancelError(e: any): boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user