Jump
Illustration of improper conditional type inference using json-schema-to-ts.
Jump
Illustration of "Type instantiation is excessively deep and possibly infinite. ts(2589)" with json-schema-to-ts.
Conditional types are also wrongly inferred.
Note that manipulating (adding or removing some) conditional blocks in schemas cand lead to a TS2589 in geocode.schema.ts
.
TS2589 occurs when the TypeScript compiler try to instantiate types, but get blocked because it's taking too long (too many operations to succeed).
This issue has already been pointed out on json-schema-to-ts
: link.