/
lostSun
/
project-client-server-apps
Обзор
Документация
Войти
/
lostSun
/
project-client-server-apps
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
node_modules/async-function/index.d.ts
13 строк
448 B
1lostsun
initial commit
05 май 2025, 11:35
05 май 2025, 11:35
fe8f535
Код
Авторство
О чём код?
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;