-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
In my last project, PublishedEvent<typeof MyEvent> ends with TS2589: Type instantiation is excessively deep and possibly infinite.
However, the type seems correctly inferred:

I can also recreate the PublishedEvent type locally and it works:

Minimal reproduction could be found here: https://github.com/CorentinDoue/typebridge-error-repro
I tried to downgrade the following dependencies:
- typescript: 4.9
- json-schema-to-ts: 2.12.0
But I couldn't manage to make it work again, so I don't know what was the breaking change.
Metadata
Metadata
Assignees
Labels
No labels