Open du-dung opened 4 years ago
.ts is also a video format container. The ContentType generated by your terminal output is actually "right", but also wrong because you want to support "application/x-typescript", "text/x.typescript" or "text/prs.typescript"
What's the file's extension?
.ts
What's the file's Uniform Type Identifier (output of
mdls -name kMDItemContentType /path/to/your/file
)?kMDItemContentType = "public.mpeg-2-transport-stream"
What kind of preview do you expect? How can it be generated? I wish it looked like a javascript file. As far as I know, typescript started from javascript, so I think it'll probably be made similar.