clearable promise return type
This commit is contained in:
parent
f6c2339acb
commit
dcc85e45a1
|
@ -41,7 +41,7 @@ declare namespace pTimeout {
|
|||
}
|
||||
|
||||
interface ClearablePromise<T> extends Promise<T>{
|
||||
clear: Function
|
||||
clear: () => void
|
||||
}
|
||||
|
||||
declare const pTimeout: {
|
||||
|
|
Loading…
Reference in New Issue