UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

12 lines (9 loc) • 236 B
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>;