Practice
Learn
← Quit
0 / 0 correct
JS / TypeScript
Medium
1 of 10
TypeScript's type system is structural. What does that mean?
A
Types must be declared with the class keyword
B
Only classes can implement interfaces
C
Types exist at runtime
D
Compatibility is decided by shape: an object with the required members fits the type, whatever it was declared as