fix TypeScript errors
This commit is contained in:
parent
62a5e856e3
commit
d242c124e9
|
|
@ -2,7 +2,7 @@ export type User = {
|
|||
uid: number
|
||||
email: string
|
||||
nickname: string
|
||||
user: string | null
|
||||
locale: string | null
|
||||
score: number
|
||||
avatar: number
|
||||
permission: UserPermission
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ const fixture: Readonly<Report> = Object.freeze<Report>({
|
|||
uid: 1,
|
||||
email: 'a@b.c',
|
||||
nickname: 'abc',
|
||||
locale: 'en',
|
||||
score: 1000,
|
||||
avatar: 0,
|
||||
permission: UserPermission.Normal,
|
||||
|
|
@ -31,6 +32,7 @@ const fixture: Readonly<Report> = Object.freeze<Report>({
|
|||
uid: 1,
|
||||
email: 'a@b.c',
|
||||
nickname: 'abc',
|
||||
locale: 'en',
|
||||
score: 1000,
|
||||
avatar: 0,
|
||||
permission: UserPermission.Normal,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ const fixture: Readonly<User> = Object.freeze<User>({
|
|||
uid: 1,
|
||||
email: 'a@b.c',
|
||||
nickname: 'abc',
|
||||
locale: 'en',
|
||||
score: 1000,
|
||||
avatar: 0,
|
||||
permission: UserPermission.Normal,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user