main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
301 bytes
|
Rev | Line | |
---|
[d565449] | 1 | type Promisable<T> = T | Promise<T>;
|
---|
[0c6b92a] | 2 |
|
---|
| 3 | declare namespace escalade {
|
---|
| 4 | export type Callback = (
|
---|
| 5 | directory: string,
|
---|
| 6 | files: string[],
|
---|
| 7 | ) => Promisable<string | false | void>;
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | declare function escalade(
|
---|
| 11 | directory: string,
|
---|
| 12 | callback: escalade.Callback,
|
---|
| 13 | ): Promise<string | void>;
|
---|
| 14 |
|
---|
| 15 | export = escalade;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.