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

x/polkadot/types/create/lazy.ts>lazyVariants

Package publishing for deno.land/x/polkadot
Go to Latest
function lazyVariants
import { lazyVariants } from "https://deno.land/x/polkadot@0.2.14/types/create/lazy.ts";

Parameters

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

Returns

Record<string, T>