The typeof x === "number"
guard has stopped working
#9923
Labels
Duplicate
An existing issue was already created
After upgrading from
1.8.10
to2.0.0
got this error:In the
rand() / layer * 2
expressionlayer
has typematrix | number
and thus tsc complains about the arithmetic operation. The<any>
type cast works around the problem.The text was updated successfully, but these errors were encountered: