method types.Struct.withimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.23/mod.ts"; const { Struct } = types; with<S extends TypesDef>(Types: S, jsonMap?: Map<string, string>): CodecClass<Struct<S>>Type ParametersS extends TypesDefParametersTypes: SoptionaljsonMap: Map<string, string>ReturnsCodecClass<Struct<S>>