npm for type definition files
One of the things that annoyed me was the tsd tool for installing type definition files.
Why can’t I just use npm, for installing type definition files. I use npm for installing external libraries en tooling so why not type definition files.
Well they are working on just that, kudos to the TypeScript thing.
Non nullable types
An other thing is non nullable types, I certainly want to have that in TypeScript.
It will be possible to tell the compiler, a certain variable is a string and not null or undefined. But you can also write: const x : string | null which means, x is a string or null but not undefined.
Down level async await support
TypeScript code which uses async await can target ES5