UNPKG

@tevm/actions

Version:

A typesafe library for writing forge scripts in typescript

6 lines 241 B
export function maybeThrowOnFail<TResult extends { errors?: any[]; }>(throwOnFail: boolean, result: TResult): TResult extends { throwOnError: true; } ? Omit<TResult, "errors"> : TResult; //# sourceMappingURL=maybeThrowOnFail.d.ts.map