Clone
4
Blog Post Ideas
Daniel Rosenwasser edited this page 2015-05-14 13:54:15 -07:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 cant I declare an arbitrary indexer?
  • Whats the deal with typeof T ?
  • How do I do reflection?