Skip to content

Broke psalm while trying to type promise #4148

@someniatko

Description

@someniatko

https://psalm.dev/r/a599b50ca8

Not saying this example is validly typed though - I have omitted the parentheses around the conditional type, the null must belong to the template instead of being directly in @param etc. Anyway, the psalm crash looks like a bug for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions