|
Last change
on this file since 2058e5c was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Working / before login
|
-
Property mode
set to
100644
|
|
File size:
236 bytes
|
| Line | |
|---|
| 1 | type Promisable<T> = T | Promise<T>;
|
|---|
| 2 |
|
|---|
| 3 | export type Callback = (
|
|---|
| 4 | directory: string,
|
|---|
| 5 | files: string[],
|
|---|
| 6 | ) => Promisable<string | false | void>;
|
|---|
| 7 |
|
|---|
| 8 | export default function (
|
|---|
| 9 | directory: string,
|
|---|
| 10 | callback: Callback,
|
|---|
| 11 | ): Promise<string | void>;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.