mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 14:08:15 -05:00
BasicEffect always had a `status` property to support the pattern of testing it to see if it's a move that sets status directly. This is just a situation that TypeScript is bad at. Another possibility would be to set `status: undefined` on PureEffect, Ability, Item, and Species, but I think that's also ugly. Casting to Move is probably the best approach, so that's what we do now. |
||
|---|---|---|
| .. | ||
| gen1 | ||
| gen2 | ||
| gen3 | ||
| gen4 | ||
| gen5 | ||
| gen6 | ||
| gen7 | ||
| gennext | ||
| letsgo | ||
| mixandmega | ||
| roulettemons | ||
| ssb | ||
| stadium | ||
| vgc17 | ||