Files
dnviti cc5b8b32bb
Some checks failed
Build and Deploy / build (push) Failing after 1m34s
first commit
2025-11-23 03:24:27 +01:00

12 lines
236 B
TypeScript

type Promisable<T> = T | Promise<T>;
export type Callback = (
directory: string,
files: string[],
) => Promisable<string | false | void>;
export default function (
directory: string,
callback: Callback,
): Promise<string | void>;