DEV Community

loading...

Discussion on: Advanced TypeScript Exercises - Answer 2

Collapse
lukaszahradnik profile image
Lukáš Zahradník

Yes, it's not valid. But admin should always be type of Admin, or an error should occur (like in this case).