New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self referential types fail to compile #1603
Labels
Comments
chitalian
added
bug
Something isn't working
openapi-ts
Relevant to the openapi-typescript library
labels
Apr 2, 2024
Similar problem here. The (reduced) code looks like this:
Errors:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
Having a self referential type like...
Causes typescript to be generate like this
Causing this failure...
openapi-typescript
6.7.5
18.17.1
macOS 14.3
Reproduction
Expected result
We can somehow build the typescript to move any self-referential types to it's own type like this?
Checklist
npx @redocly/cli@latest lint
)The text was updated successfully, but these errors were encountered: