

222·
2 years agoThat’s not how brackets work?


That’s not how brackets work?
But generic type syntax is a feature exclusive to Typescript while typeof is a JavaScript thing. You’d never get Pie[Pie[T]] as a result from a typeof check. (Please excuse the square brackets; seems like the markdown parser here isn’t quite right and it keeps messing up the angle brackets)
Also, it’s typeof foo not typeof(foo) in js


There are some cases where any must be used instead of unknown but they usually involve generic constraints and seem more like a bug than intended behavior
Did xmage get renamed or do we have two Java based open source MTG rules engines?