Module

x/polkadot/types-codec/index.ts>HashMap.with

Package publishing for deno.land/x/polkadot
Go to Latest
method HashMap.with
import { HashMap } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts";

Type Parameters

K extends Codec
V extends Codec

Parameters

keyType: CodecClass<K> | string
valType: CodecClass<V> | string

Returns

CodecClass<CodecMap<K, V>>