-
Why do you need type definitions?
-
How would you define a custom type?
-
What is the difference between an Interface and a Class?
-
First line below gives compile error, second line doesn't. Why?
-
What are Discriminated union types?
https://basarat.gitbooks.io/typescript/content/docs/types/discriminated-unions.html microsoft/TypeScript#9163