Fix ts errors

This commit is contained in:
Sirz Benjie 2025-03-29 21:52:24 -05:00
parent f7ff3707ae
commit f63644cf60
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
1 changed files with 2 additions and 0 deletions

View File

@ -1730,10 +1730,12 @@ export async function populateAnims() {
let props: string[];
for (let p = 0; p < propSets.length; p++) {
props = propSets[p];
// @ts-ignore TODO
const ai = props.indexOf(a.key);
if (ai === -1) {
continue;
}
// @ts-ignore TODO
const bi = props.indexOf(b.key);
return ai < bi ? -1 : ai > bi ? 1 : 0;