DEV Community

Discussion on: Advanced TypeScript Exercises - Answer 2

Collapse
 
macsikora profile image
Pragmatic Maciej

Type is Admin but the structure which is returned has kind property with value customer, so its not valid member of the type Admin.