PIbd-21_Danilov_V.V._Intern.../Lab3/node_modules/escalade/index.d.ts
Владимир Данилов 83490711d5 отчет
2023-12-19 20:23:11 +04:00

4 lines
224 B
TypeScript

type Promisable<T> = T | Promise<T>;
export type Callback = (directory: string, files: string[]) => Promisable<string | false | void>;
export default function (directory: string, callback: Callback): Promise<string | void>;