Add new types to User interface and state

This commit is contained in:
Justin Edmund 2022-03-04 05:15:49 -08:00
parent c3d2ee3c3a
commit cb7624d7a5
2 changed files with 8 additions and 1 deletions

5
types/User.d.ts vendored
View file

@ -2,4 +2,9 @@ interface User {
id: string
username: string
granblueId: number
picture: {
picture: string
element: string
}
private: boolean
}

View file

@ -8,7 +8,9 @@ interface AccountState {
language: 'en' | 'jp',
user: {
id: string,
username: string
username: string,
picture: string,
element: string,
} | undefined
}
}