Skip to content

Blog Post Ideas

Daniel Rosenwasser edited this page May 14, 2015 · 4 revisions

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?
Clone this wiki locally