Added typescript support

Even though the language is shit...

Signed-off-by: Andrei Thorp <athorp@evernote.com>