interface User { name : string ; } interface User { age : number ; } interface User { species : 'rabbit' | 'bear' | 'fox' | 'dog' ; } const rolley = { name : 'Rolley Cocker' , age : 8 , species : 'dog' , } ; console . log ( rolley ) ;