Skip to content
On this page

Type alias: AbiTypeToPrimitiveType<TAbiType, TAbiParameterKind>

AbiTypeToPrimitiveType: <TAbiType, TAbiParameterKind> PrimitiveTypeLookup< TAbiType, TAbiParameterKind >[TAbiType]

Converts AbiType to corresponding TypeScript primitive type.

Does not include full array or tuple conversion. Use AbiParameterToPrimitiveType to fully convert arrays and tuples.

Type parameters

ParameterDefaultDescription
TAbiType extends AbiType-AbiType to convert to TypeScript representation
TAbiParameterKind extends AbiParameterKindAbiParameterKindOptional AbiParameterKind to narrow by parameter type

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/index.d.ts:58


Generated using TypeDoc and typedoc-plugin-markdown