Add typescript definitions.

Asking for a pull in the biggest typescript def repository.

https://github.com/borisyankov/DefinitelyTyped/pull/1551