Module

x/polkadot/types/index.ts>lazyVariants

Package publishing for deno.land/x/polkadot
Go to Latest
function lazyVariants
import { lazyVariants } from "https://dotland.deno.dev/x/polkadot@0.2.35/types/index.ts";

Parameters

unnamed 1: TypeHolder
getName: (v: SiVariant) => string
creator: (v: SiVariant) => T

Returns

Record<string, T>
import lazyVariants
import { lazyVariants } from "https://dotland.deno.dev/x/polkadot@0.2.35/types/index.ts";