mojotech / json-type-validation

TypeScript JSON type validation
MIT License
155 stars 15 forks source link

Improve constant decoder type inference #36

Closed mulias closed 5 years ago

mulias commented 5 years ago

The constant combinator now infers exact literal types for all json primitives and shallow arrays and objects.