matrix.decompose(undefined, undefined, undefined);
is valid
matrix.decompose(null|false, null|false, null|false);
is not
shouldn’t be equating to nullish not undefined?
matrix.decompose(undefined, undefined, undefined);
is valid
matrix.decompose(null|false, null|false, null|false);
is not
shouldn’t be equating to nullish not undefined?
Can you repro in the playground ? looking at the code it should be .
at least from a js point of view. In TS there are typings and the parameter is optional meaning undefined | value
Ummm it just came up in my VS Code. When I was making a ts file that had matrix decompose with nulls instead of undefined it dropped code error hints.
I think in a PG it still works refuardless