type-fest icon indicating copy to clipboard operation
type-fest copied to clipboard

JsonifiableObject & JsonifiableArray

Open mfulton26 opened this issue 1 year ago • 0 comments

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

mfulton26 avatar Oct 23 '24 21:10 mfulton26