clearable promise return type

This commit is contained in:
İlker Yıldırım 2020-08-06 01:22:03 +03:00
parent f6c2339acb
commit dcc85e45a1
1 changed files with 1 additions and 1 deletions

2
index.d.ts vendored
View File

@ -41,7 +41,7 @@ declare namespace pTimeout {
}
interface ClearablePromise<T> extends Promise<T>{
clear: Function
clear: () => void
}
declare const pTimeout: {