function types.constructTypeClassimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { constructTypeClass } = types; constructTypeClass<T extends Codec = Codec>(registry: Registry, typeDef: TypeDef): CodecClass<T>Type ParametersoptionalT extends Codec = CodecParametersregistry: RegistrytypeDef: TypeDefReturnsCodecClass<T>import types.constructTypeClassimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { constructTypeClass } = types;