Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork68
Infer TS type from JSON schema#557
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Description of the issueCurrently the lib infers the TS type in
It is now possible with today's TypeScript to infer the type from the JSON schema even for complex types. Note it requires to assert JSON schemas |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
PR#477 Blocked on Angular supporting TS 4.1 (and TS >= 4.1 only) for recursive conditional types, so probably not before Angular v12. Also, a DX issue (no IntelliSense when writing the JSON schemas) is discussed inmicrosoft/TypeScript#41247, but it doesn't seem it will get a solution from TS. |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #463 on February 12, 2021 16:28.