Better typescript typing for a better world

This commit is contained in:
Chocobozzz 2017-07-10 19:43:21 +02:00
parent 7a214f746b
commit 4771e0008d
59 changed files with 400 additions and 166 deletions

View file

@ -0,0 +1,10 @@
import { UserRole } from './user-role.type'
export interface User {
id: number
username: string
email: string
displayNSFW: boolean
role: UserRole
createdAt: Date
}