There is a lexer for TypeScript in the pygments project