method typesCodec.Enum.withimport { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { Enum } = typesCodec; with(Types: Record<string, string | CodecClass> | Record<string, number> | string[]): EnumCodecClass<Enum>ParametersTypes: Record<string, string | CodecClass> | Record<string, number> | string[]ReturnsEnumCodecClass<Enum>