Practice
Learn
← Quit
0 / 0 correct
JS / TypeScript
Medium
1 of 41
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
Types exist at runtime
C
Types must be declared with the class keyword
D
Only classes can implement interfaces