Heuristic for .ts (TypeScript, XML)