Skip to content

AbiParametersToPrimitiveTypes

AbiParametersToPrimitiveTypes<TAbiParameters, TAbiParameterKind>: Pretty<{ [K in keyof TAbiParameters]: AbiParameterToPrimitiveType<TAbiParameters[K], TAbiParameterKind> }>

Converts array of AbiParameter to corresponding TypeScript primitive types.

Type parameters

TAbiParameters extends readonly AbiParameter[]

Array of AbiParameter to convert to TypeScript representations

TAbiParameterKind extends AbiParameterKind = AbiParameterKind

Optional AbiParameterKind to narrow by parameter type

Source

node_modules/.pnpm/abitype@1.0.2_typescript@5.4.5_zod@3.23.8/node_modules/abitype/dist/types/utils.d.ts:86