function lazyMethodsimport { lazyMethods } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts"; lazyMethods<T, K, S>(result: Record<string, T>,items: readonly K[],creator: (item: K,index: number,self: S,) => T,getName?: (item: K, index: number) => string,): Record<string, T>Type ParametersTKSParametersresult: Record<string, T>items: readonly K[]creator: (item: K,index: number,self: S,) => ToptionalgetName: (item: K, index: number) => stringReturnsRecord<string, T>