Hello,
macOS considers typescript files to be of type "MPEG-2 Transport Stream." This prevents QuickLook and Spotlight (system search) from working properly. Please address this given macOS is a major platform for devs. Thank you.
This sounds like feedback that you'd ideally want to leave with someone at Apple on the macOS/Spotlight team, not TypeScript. It's not within our means to change the way that Spotlight works.
I see where you're coming from for sure. But you are using the same extension as another somewhat popular file-format, that's not so much Apple's problem. I'd be interested in what others have to say, but I will send an email to Apple - just don't expect it to go very far.
The only solution that would be in the gift of TypeScript is to change the extension. I don't think that is really practical or viable.
One thing to consider though @DanielRosenwasser is that there is no official application/typescript media (MIME) type. It maybe worth considering registering that, as a lot of libraries key off the official list. As far as I can tell though, there is no official list of extension mapping to media types, though there are a couple big ones. In fact, the .NET Library currently doesn't contain a .ts entry.
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Found a solution to this today:
https://gregbrown.co/code/typescript-quicklook
Definitely not the cleanest, but it works.
Here's my setup for quicklook as well
http://justinlevi.github.io/blog/2016/11/21/quick-look-essentials
Most helpful comment
The only solution that would be in the gift of TypeScript is to change the extension. I don't think that is really practical or viable.
One thing to consider though @DanielRosenwasser is that there is no official
application/typescriptmedia (MIME) type. It maybe worth considering registering that, as a lot of libraries key off the official list. As far as I can tell though, there is no official list of extension mapping to media types, though there are a couple big ones. In fact, the .NET Library currently doesn't contain a.tsentry.