Skip to content

Circular references types may break on TS 5.9 #1

Closed

Description

@goldenice

With entities that refer to eachother, e.g. an entity A that contains a ref to entity B and vice versa, the types may very well break since TypeScript 5.9 reverted some optimizations in the caching of types. See this PR for an explanation: microsoft/TypeScript#61668 (review)'

For now we should probably specify TS 5.8 as an upperbound peer dependency, and see if we can implement a test and a fix for the circular types on versions higher than that.

Activity

  1. added theissue type on Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy