Open vidartf opened 4 years ago
Note: While the logic in JSONExt
changed to support the new type, I do not think the behavior for the old type should differ (potentially a minor performance hit). If this is not the case, or the performance hit is not acceptable, we could duplicate that into PartialJSONExt
as well.
Refactor of #303 to instead add new partial types that allow undefined value and/or missing keys ("Partial" types in TS jargon).
Some of the type names get a little long, but at least they are explicit.