UNPKG

@fuel-ts/abi-typegen

Version:

Generates Typescript definitions from Sway ABI Json files

10 lines 423 B
import type { IType } from '../types/interfaces/IType'; import type { JsonAbiArgument } from '../types/interfaces/JsonAbi'; export type FunctionInput<TArg extends JsonAbiArgument = JsonAbiArgument> = TArg & { isOptional: boolean; }; export declare const getFunctionInputs: (params: { types: IType[]; inputs: readonly JsonAbiArgument[]; }) => Array<FunctionInput>; //# sourceMappingURL=getFunctionInputs.d.ts.map