index.d.ts 242 B

12345678910111213
  1. declare namespace escalade {
  2. export type Callback = (
  3. directory: string,
  4. files: string[],
  5. ) => string | false | void;
  6. }
  7. declare function escalade(
  8. directory: string,
  9. callback: escalade.Callback,
  10. ): string | void;
  11. export = escalade;