Set of minimal decoder types that are composable into schema for data validation.
import * as D from 'common-decoders';const UserDecoder = D.object({ id: D.number, name: D.string });type GetUser = D.Infer<typeof UserDecoder>;
Generated using TypeDoc
Set of minimal decoder types that are composable into schema for data validation.
Example