Skip to content

"Type instantiation is excessively deep and possibly infinite" even for generated non-recursive type #31619

@KSXGitHub

Description

@KSXGitHub

TypeScript Version: 3.4.5

Search Terms:

Code

Expected behavior:

It should work without error

Actual behavior:

ERROR: Type instantiation is excessively deep and possibly infinite

Playground Link:

Related Issues: #30188 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions