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.
https://psalm.dev/r/a599b50ca8
Not saying this example is validly typed though - I have omitted the parentheses around the conditional type, the
nullmust belong to the template instead of being directly in@parametc. Anyway, the psalm crash looks like a bug for me.