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