mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 06:42:20 +02:00
Fix ts errors
This commit is contained in:
parent
f7ff3707ae
commit
f63644cf60
@ -1730,10 +1730,12 @@ export async function populateAnims() {
|
|||||||
let props: string[];
|
let props: string[];
|
||||||
for (let p = 0; p < propSets.length; p++) {
|
for (let p = 0; p < propSets.length; p++) {
|
||||||
props = propSets[p];
|
props = propSets[p];
|
||||||
|
// @ts-ignore TODO
|
||||||
const ai = props.indexOf(a.key);
|
const ai = props.indexOf(a.key);
|
||||||
if (ai === -1) {
|
if (ai === -1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// @ts-ignore TODO
|
||||||
const bi = props.indexOf(b.key);
|
const bi = props.indexOf(b.key);
|
||||||
|
|
||||||
return ai < bi ? -1 : ai > bi ? 1 : 0;
|
return ai < bi ? -1 : ai > bi ? 1 : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user