@fuel-ts/abi-typegen
Version:
Generates Typescript definitions from Sway ABI Json files
8 lines • 369 B
TypeScript
import type { ErrorCode } from '../abi/errors/ErrorCode';
import type { IType } from '../types/interfaces/IType';
import type { JsonAbiErrorCode } from '../types/interfaces/JsonAbi';
export declare function parseErrorCodes(params: {
types: IType[];
rawErrorCodes?: Record<string, JsonAbiErrorCode>;
}): ErrorCode[];
//# sourceMappingURL=parseErrorCodes.d.ts.map