Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.38 KB

Blog-Post-Ideas.md

File metadata and controls

42 lines (33 loc) · 1.38 KB

How-to guides for non-language features

  • Use the npm package for xcopyable build scripts
  • Use the watch flag for faster development
  • Manage ///reference hell; keep files in correct order when using --out
  • Combine external modules with browserify
  • Use Angular with TypeScript
  • Use knockout with TypeScript
  • Use […] with TypeScript
  • Guest blog: basarat explains grunt-ts
  • Use .d.ts files for separate compilation
  • How to use TypeScript with Sublime/Emacs/etc
  • Common workflows with linters (JS and TS), minifiers, etc

Explorations

  • Type inference in TypeScript (multi-part series)
  • Object serialization in TypeScript (revivers for class prototypes, etc)

Deep dives (handbook updates?)

  • Function overloading
  • Classes
  • Modules
  • Enum and const enum
  • Let and const

Why and How?

  • Why are function parameter types bivariant?
  • How do I handle this in my program?
  • When should I use instance methods vs prototype methods?
  • How do I write a definition file? Walk through an example
  • Advanced version: Choosing between overloads/optional params, use {} instead of any, etc
  • How do I convert a JavaScript file to TypeScript? Walk through an example
  • Advanced performance optimizations for rest and optional arguments

Well-intentioned C# programmers

  • Why can’t I declare an arbitrary indexer?
  • What’s the deal with typeof T ?
  • How do I do reflection?