|
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 | |
|---|
| 1 | type Promisable<T> = T | Promise<T>;
|
|---|
| 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.