Open btd1337 opened 6 years ago
Seems like anyone could do this?
The issue is that the .ts
extension is already officially associated with the "video/mp2t"
MIME.
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/
@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.
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/