7 lines
173 B
TypeScript
7 lines
173 B
TypeScript
export type Callback = (
|
|
directory: string,
|
|
files: string[]
|
|
) => string | false | void;
|
|
|
|
export default function (directory: string, callback: Callback): string | void;
|