Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Type Parameters

K extends Codec
V extends Codec

Parameters

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

Returns

CodecClass<CodecMap<K, V>>