mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 03:39:13 +08:00
3 lines
224 B
Text
3 lines
224 B
Text
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>;
|