fix warnings for any type
This commit is contained in:
17
src/types/account.ts
Normal file
17
src/types/account.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user