Skip to content

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

@kennu

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 }.

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