typescript dto
interface IUsers {
readonly user_id?: number
readonly email: string
readonly password: string
readonly active?: boolean
readonly created_at?: any
readonly updated_at?: any
}
class UsersDTO implements IUsers {
readonly user_id?: number
readonly email: string
readonly password: string
readonly active?: boolean
readonly created_at?: any
readonly updated_at?: any
}
Are there any code examples left?
New code examples in category TypeScript