source:
imaps-frontend/node_modules/is-async-function/index.d.ts@
79a0317
Last change on this file since 79a0317 was 79a0317, checked in by , 3 days ago | |
---|---|
|
|
File size: 207 bytes |
Rev | Line | |
---|---|---|
[79a0317] | 1 | declare namespace isAsyncFunction { |
2 | type AsyncFunction = (...args: any[]) => Promise<any> | |
3 | } | |
4 | ||
5 | declare function isAsyncFunction(fn: unknown): fn is isAsyncFunction.AsyncFunction; | |
6 | ||
7 | export = isAsyncFunction; |
Note:
See TracBrowser
for help on using the repository browser.