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
Parameter | Default | Description |
---|---|---|
TAbiType extends AbiType | - | AbiType to convert to TypeScript representation |
TAbiParameterKind extends AbiParameterKind | AbiParameterKind | Optional 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