type-fest
type-fest copied to clipboard
JsonifiableObject & JsonifiableArray
Type description + examples
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?
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
- [X] I tried my best to look for it