[Bug] TypeScript file wrongly classified as JavaScript file

GitHub’s file classification algorithm works well for the most part, except in a repository of mine.
The link links to the list of JavaScript files in that repository, yet somehow src/index.ts, despite clearly being a TypeScript file, is listed there.

1 Like

Yep, that’s definetely a bug.

Take a look at the Linguist repository, that’s what GitHub uses to detect the languages. If the troubleshooting guide there doesn’t help, you can also create an issue. :slightly_smiling_face: