~/talk

Exploring TypeScript

slides:none on file

TypeScript compiles to JavaScript and adds static typing with inference, a tsc option to noEmitOnError, and ambient declarations so browser globals or jQuery can be declared without breaking compilation. Examples show sample.ts → sample.js running on Node or in a browser, stricter type-checked comparisons, optional/default and rest params, lambda syntax for concise callbacks, interfaces/classes with structural typing, generics, inheritance, getters/setters, and that returning lambdas preserves this binding. The compiler prevents emission on type errors.

AI-written summary · about

  1. 0:00Introduction to typescript
  2. 1:26Execution and compilation
  3. 3:51Type checking and errors
  4. 6:47Type inference and variables
  5. 10:56Ambient declarations
  6. 14:31Rigorous comparisons
  7. 16:43Writing functions
  8. 20:26Declaring callbacks
  9. 23:25Parameters and defaults
  10. 26:25Variable parameters
  11. 29:04Function overloading
  12. 30:52Lambda expressions
  13. 33:28Interfaces
  14. 37:11Structural mapping
  15. 39:42Streamlined classes
  16. 42:25Generics
  17. 44:33Inheritance
  18. 49:13Function types and statics
  19. 51:22Getters, setters, and lambdas
  20. 56:21Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.