Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Typescript Mimetype #25426

Open
btd1337 opened this issue Jul 4, 2018 · 4 comments
Open

Create a Typescript Mimetype #25426

btd1337 opened this issue Jul 4, 2018 · 4 comments
Labels
Experience Enhancement Noncontroversial enhancements Help Wanted You can do this Suggestion An idea for TypeScript
Milestone

Comments

@btd1337
Copy link

btd1337 commented Jul 4, 2018

Please add a typescript mimetype on FreeDesktop. Currently .ts files are recognize like text/vnd.trolltech.linguist type and VSCode isn't set as default editor for this.

https://freedesktop.org/wiki/Specifications/AddingMIMETutor/

@RyanCavanaugh RyanCavanaugh added the Help Wanted You can do this label Jul 5, 2018
@RyanCavanaugh
Copy link
Member

Seems like anyone could do this?

@weswigham
Copy link
Member

weswigham commented Jul 5, 2018

The issue is that the .ts extension is already officially associated with the "video/mp2t" MIME.

@btd1337
Copy link
Author

btd1337 commented Jul 7, 2018

shared-mime-info issues should be filed in the freedesktop.org bugzilla.

https://www.freedesktop.org/wiki/Software/shared-mime-info/
https://bugs.freedesktop.org/enter_bug.cgi?product=shared-mime-info

But better than reporting a shared-mime-info issue, the right thing to do for typescript is to submit it to the official IANA registry. From there it propagates to many places, including shared-mime-info. https://www.iana.org/assignments/media-types/

@mhegazy mhegazy added this to the Community milestone Jul 12, 2018
@RyanCavanaugh RyanCavanaugh added Suggestion An idea for TypeScript Experience Enhancement Noncontroversial enhancements labels Oct 18, 2018
@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
@HarrisMBrad
Copy link

@btd1337 running into this issue.
RE: refused to execute the script from help/src/index.ts because its MIME type ('video/mp2t') is not executable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experience Enhancement Noncontroversial enhancements Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

5 participants