Skip to content

TypeScript Partial<Pick<MyClass, 'property'>> results in Cyclic type found #47

Description

@kennu

When I use TypeScript syntax MyInterface & Partial<Pick<AnotherInterface, 'property'>> to pick some properties of an interface and make them optional, typeconv throws the error "Cyclic type found when trying to inline type".

It works if I manually define the picked properties with MyInterface & { property?: string }.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions