fix warning for Any
This commit is contained in:
parent
56732a68c1
commit
54b3b6964f
1 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue