/
Mikhail823
/
todo
Обзор
Документация
Войти
/
Mikhail823
/
todo
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/async-function/index.d.ts
13 строк
448 B
Mikhail Popov
j
23 фев 2026, 16:12
23 фев 2026, 16:12
ff7232a
Код
Авторство
О чём код?
declare namespace getAsyncFunction { type AsyncFunction<T = unknown> = (...args: any[]) => Promise<T>; interface AsyncFunctionConstructor extends FunctionConstructor { new <T>(...args: string[]): AsyncFunction<T>; <T>(...args: string[]): AsyncFunction<T>; readonly prototype: AsyncFunction; } } declare function getAsyncFunction(): getAsyncFunction.AsyncFunctionConstructor | false; export = getAsyncFunction;