method TypeRegistry.prototype.registerimport { TypeRegistry } from "https://dotland.deno.dev/x/polkadot@0.2.24/types/index.ts"; register(type: CodecClass | RegistryTypes): voidregister(name: string, type: CodecClass): voidParameterstype: CodecClass | RegistryTypesReturnsvoidParametersname: stringtype: CodecClassReturnsvoid