challenge-algorithms-v2.0-D.../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;