fix warnings for any type

This commit is contained in:
Blake Joynes
2023-04-15 12:16:57 -04:00
parent 5d38a76997
commit 933ebf25a3
6 changed files with 59 additions and 18 deletions

17
src/types/account.ts Normal file
View File

@@ -0,0 +1,17 @@
export interface Gravatar {
hash: string;
}
export interface Avatar {
gravatar: Gravatar;
}
export interface AccountDetails {
avatar: Avatar;
id: number;
include_adult: boolean;
iso_3166_1: string;
iso_639_1: string;
name: string;
username: string;
}