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

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

Package publishing for deno.land/x/polkadot
Go to Latest
class HashMap
extends CodecMap<K, V>
import { HashMap } from "https://deno.land/x/polkadot@0.2.17/types/codec/index.ts";

Type Parameters

optional
K extends Codec = Codec
optional
V extends Codec = Codec

Static Methods

with<K extends Codec, V extends Codec>(keyType: CodecClass<K> | string, valType: CodecClass<V> | string): CodecClass<CodecMap<K, V>>