fix warning for Any

This commit is contained in:
smthbh 2025-04-22 13:14:21 -04:00
parent 56732a68c1
commit 54b3b6964f

View file

@ -80,6 +80,16 @@ interface ISkills {
max: number ; max: number ;
} }
interface IReputation {
id: number;
name: string;
standing: string;
value: number;
valueInGrade: number;
max: number;
expansionId: number;
}
const ItemClassGem = 3; const ItemClassGem = 3;
const SpellMechanicMounted = 21; const SpellMechanicMounted = 21;
const RaceDisplayName = { const RaceDisplayName = {
@ -339,7 +349,7 @@ export class CharacterController {
}); });
} }
private async getReputations(realm: string, character: number): Promise<any[]> { private async getReputations(realm: string, character: number): Promise<IReputation[]> {
const [rows] = await this.armory.getCharactersDb(realm).query({ const [rows] = await this.armory.getCharactersDb(realm).query({
sql: ` sql: `
SELECT faction, standing, flags SELECT faction, standing, flags