9 lines
222 B
TypeScript
9 lines
222 B
TypeScript
import type { AsyncFunction } from 'async-function';
|
|
|
|
declare namespace isAsyncFunction {
|
|
export type { AsyncFunction };
|
|
}
|
|
|
|
declare function isAsyncFunction(fn: unknown): fn is AsyncFunction;
|
|
|
|
export = isAsyncFunction; |