source: node_modules/escalade/index.d.ts@ e4c61dd

Last change on this file since e4c61dd was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Working / before login

  • Property mode set to 100644
File size: 301 bytes
Line 
1type Promisable<T> = T | Promise<T>;
2
3declare namespace escalade {
4 export type Callback = (
5 directory: string,
6 files: string[],
7 ) => Promisable<string | false | void>;
8}
9
10declare function escalade(
11 directory: string,
12 callback: escalade.Callback,
13): Promise<string | void>;
14
15export = escalade;
Note: See TracBrowser for help on using the repository browser.