UNPKG

recoder-code

Version:

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

4 lines (3 loc) • 186 B
type MaybeParams<T> = (err: Error | any | null, result?: T) => void; export default function maybe<T>(cb: MaybeParams<T> | undefined, promise: Promise<T>): Promise<T> | void; export {};