Open mfulton26 opened 1 month ago
I find Jsonifiable very handy but I often want to specify that the value shouldn't be a primitive. Can JsonifiableObject and JsonifiableArray be exported too?
Jsonifiable
JsonifiableObject
JsonifiableArray
The types are already defined but not currently exported:
https://github.com/sindresorhus/type-fest/blob/3d473d1f8b0ec5820e1f3aaf7965b68784423778/source/jsonifiable.d.ts#L3-L4
Type description + examples
I find
Jsonifiable
very handy but I often want to specify that the value shouldn't be a primitive. CanJsonifiableObject
andJsonifiableArray
be exported too?Type source
The types are already defined but not currently exported:
https://github.com/sindresorhus/type-fest/blob/3d473d1f8b0ec5820e1f3aaf7965b68784423778/source/jsonifiable.d.ts#L3-L4
Search existing types and issues first
Upvote & Fund