Add support for typescript.