You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
487 B
13 lines
487 B
5 years ago
|
declare module 'escalade' {
|
||
|
type Promisable<T> = T | Promise<T>;
|
||
|
export type Callback = (directory: string, files: stirng[]) => Promisable<string | false | void>;
|
||
|
function escalade(directory: string, callback: Callback): Promise<string | void>;
|
||
|
export = escalade;
|
||
|
}
|
||
|
|
||
|
declare module 'escalade/sync' {
|
||
|
export type Callback = (directory: string, files: stirng[]) => string | false | void;
|
||
|
function escalade(directory: string, callback: Callback): string | void;
|
||
|
export = escalade;
|
||
|
}
|