Skip to content

Add application/typescript

Alex Henrie requested to merge alexhenrie/shared-mime-info:ts into master

Unfortunately, unless the uncommon .cts file extension is used (indicating a CommonJS module written in TypeScript), TypeScript files do not have any clear identifying marks. TypeScript files with a .ts or .mts extension can only be distinguished from MPEG transport streams and Qt Linguist catalogs by exclusion: If no magic matches, then the file is probably TypeScript.

According to the TypeScript specification: "Every JavaScript program is also a TypeScript program."

Edited by Alex Henrie

Merge request reports