deno.land / x / yargs@v17.6.0-deno / build / lib / utils / maybe-async-result.d.ts

maybe-async-result.d.ts
نووسراو ببینە
1
2
export declare function maybeAsyncResult<T>(getResult: (() => T | Promise<T>) | T | Promise<T>, resultHandler: (result: T) => T | Promise<T>, errorHandler?: (err: Error) => T): T | Promise<T>;
yargs

Version Info

Tagged at
2 years ago