export const subject = [ 'Sciences', 'History', 'English', 'Maths', 'Sport', ] as const; export type Subject = typeof subject[number]; export interface Teacher { id: number; firstname: string; lastname: string; subject: Subject; }