Releases: nvie/decoders
Releases · nvie/decoders
v1.24.1
v1.24.0
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.22.2
-
New decoders:
inexact()
: like object, but retain any extra fields on the input value asunknown
.
For more information, see The difference betweenobject
,exact
, andinexact
.iso8601
: for decoding ISO8601-formatted date strings
-
Improved type inference for
object()
andexact()
decoders (see #515, thanks @dimfeld) -
DecoderType
is now an alias for$DecoderType
(to support both TypeScript and Flow conventional naming) -
GuardType
(and$GuardType
) is a new type function to extract the type of a guard instance