Compiling typescript is basically just stripping the type definitions/annotations and other typescript-specific parts of the syntax out. That's a huge difference from actually type checking it.
Writing a parser for the purpose would achieve performance closer to the other implementations.