Skip to content

"Type instantiation possibly infinite" when using .elems() #401

@motherthestate

Description

@motherthestate

Replicated a simplified version here:
https://codesandbox.io/p/sandbox/eager-smoke-sq7wkw

Typescript struggles "Type instantiation is excessively deep and possibly infinite" after only a few lens filters. What is the best way to maybe "flatten" a lens type?

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