mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 22:47:15 +01:00
use types instead of interfaces
This commit is contained in:
@@ -5,7 +5,7 @@ export enum USER_ROLE {
|
||||
ADMIN = 'admin',
|
||||
}
|
||||
|
||||
export interface UserData {
|
||||
export type UserData = {
|
||||
username: string
|
||||
role: USER_ROLE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user