-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Typescript 3.9 introduced a cap on type size. It's easy to reach that cap when using this library.
See microsoft/TypeScript#38557 for more information and details about the workarounds.
Describe the bug
.d.ts files are truncated, producing invalid syntax. "..."
To work around this, you can try the fix described here: microsoft/TypeScript#38557 (comment) or (possibly) split up your schemas into several files.
You can also continue to use 3.7 or 3.8 until this is fixed.
I'm hoping the Typescript maintainers change their mind about this cap.
To Reproduce
Any sufficiently complicated (set of) schemas in some file may hit this cap.
Expected behavior
tsc produces valid code
Actual behavior
tsc produces invalid code
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed