train
to
code
YouTube
TypeScript Interfaces and Type Aliases Quiz
Question 1
Are TypeScript's interfaces and type aliases structurally typed?
No, only nominal typing is used
Yes, shapes are compared structurally
Only interfaces are structural
Only classes are structural