- What are the main benefits of adding types to JavaScript?
- Is it possible to get the type of a TypeScript variable at runtime? How?
- At the moment, is there any chance the TypeScript team will add something like C# operator overloading so users may define custom behavior for + and - when applied to their custom types? Why?
- Is there a way to define a variable that might contain both numbers and strings? What is the best way to do it?
- What is the return type of a function that returns no value?
- What is the scope of a variable that has not been declared?
- How many instances of the counter variable are generated by a var-based for loop that iterates 100 times? How many instances are generated by the let version of the same loop?
- Is this assertion true: TypeScript string variables are always allowed to have a null value? Explain.
- What is the most space-efficient way to define an enum (the one that generates the least code and requires the least runtime memory)?
- How do you declare that the values of an enum are C#-like bit flags?