You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors: TS2502: PackageTreePermittedResponseV2 is referenced directly or indirectly in its own type annotation. TS2502: PackageTreeResponseV2 is referenced directly or indirectly in its own type annotation.
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: