internet-programming/lab3/node_modules/escalade/sync/index.d.ts

3 lines
166 B
TypeScript

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