<aside> 💡 Typescript compiler
</aside>
Text compiler
<aside> 💡 Type system - a set of rules that a typechecker uses to assign types to your program.
</aside>
We can annotate or allow ts to infer our types.
Errors are surfaced at compile time.
TS- statically typed. Gradually typed.
JS - dynamically typed. Weakly typed.
I'm going to be using emacs and i-know i already have tide installed. What other setup do I need to do?
Is Es2015 still the best lib and target?
Interesting, following the example tsconfig I got an error because console wasn’t included in es2015 lib, had to add DOM for that to work.