UNPKG

@upstart.gg/sdk

Version:

You can test the CLI without recompiling by running:

9 lines 338 B
//#region src/shared/utils/try-catch.d.ts type Result<T = unknown, E extends Error = Error> = [null, T] | [E, null]; /** * Try catch wrapper for async functions */ declare function tryCatch<T, E extends Error = Error>(promise: Promise<T>): Promise<Result<T, E>>; //#endregion export { tryCatch }; //# sourceMappingURL=try-catch.d.ts.map