mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-15 06:15:20 +01:00
* make IVs use Uint8Array * Add many typed array helpers * Move array utils to its own file * Add suppression comment * Adjust type of `getStats` * Adjust test mocks to use typed arrays * Adjust signatures of some phases to use ArrayLike<T> * Adjust signature of src/ui/containers/stats-container#updateIvs * Remove comment gap to try to satisfy typedoc * Ensure ivs are always set * fix: fun-and-games me to use typed array * Add new tests for array utilities * Update type of ivs in save-data.ts * Update part-timer-encounter.test.ts * Convert uses of StatusEffect[] to Uint8Array * Update ssui to use uint8array for ivs * Revert use of typed arrays * Move `nil` to @types/common * Make more arrays readonly * fix: remnant change to immune effects * Even more array improvements * Apply kev's suggestions from code review Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> * address Bertie's comments from code review * tests: remove undefined check for bigint array types * fixup abilities.ts --------- Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| to-be-at-phase.ts | ||
| to-equal-unsorted.ts | ||
| to-have-ability-applied.ts | ||
| to-have-arena-tag.ts | ||
| to-have-battler-tag.ts | ||
| to-have-effective-stat.ts | ||
| to-have-fainted.ts | ||
| to-have-full-hp.ts | ||
| to-have-hp.ts | ||
| to-have-key.ts | ||
| to-have-positional-tag.ts | ||
| to-have-shown-message.ts | ||
| to-have-stat-stage.ts | ||
| to-have-status-effect.ts | ||
| to-have-taken-damage.ts | ||
| to-have-terrain.ts | ||
| to-have-types.ts | ||
| to-have-used-move.ts | ||
| to-have-used-pp.ts | ||
| to-have-weather.ts | ||