Type helper to infer the type from any given Decoder.
const fooDecoder = D.object({ foo: D.string }) // Create new type from fooDecoder, Foo will equal { foo: string }; type Foo = Infer<typeof fooDecoder>;
Generated using TypeDoc
Type helper to infer the type from any given Decoder.
Example