Due to an earlier answer created by Steve Troughton-Smith for Lua, I used to be capable of hack a plug-in Xcode (sure, these nonetheless exist) 10.1.
The TypeScript repo is right here on github.
To put in, exit Xcode. Run setup.sh so as to add xclangspec and ideplugin data to your ~ / Library / Developer / Xcode folders. Then run Xcode, agree to permit the plug-in to run, and add your ts recordsdata.
The File Inspector will all the time point out that these are MPEG-2 transport stream recordsdata, however it is possible for you to to see the textual content, the textual content can be formatted, and it is possible for you to to make use of Xcode to seek for content material within the recordsdata. Let me know if it really works for you.