-
-
Notifications
You must be signed in to change notification settings - Fork 616
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Assuming you're serializing a non-strictly typed JSON data, all of its descendents were serialized too, thus JsonValue
seems like a reasonable assumption. But resolving to unknown
would be enough too.
Currently:
type U = Jsonify<unknown> // never
type V = Jsonify<{foo: unknown}> // {}
type W = Jsonify<[unknown]> // [null]
I am OK to submit a PR if you're OK with it
deRockerTom
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request