glance icon indicating copy to clipboard operation
glance copied to clipboard

Support for Typescript

Open du-dung opened this issue 3 years ago • 1 comments

  • 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.

du-dung avatar Nov 06 '20 00:11 du-dung

.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"

hirbod avatar Nov 13 '20 14:11 hirbod