.mts files not recognised as TypeScript

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

TypeScript .mts files (explicit module-type) icons appear as generic file icons, not TypeScript icons. Possibly the same for .cts. These are the TypeScript equivalent of mjs/cjs.

Steps to Reproduce

View .mts files anywhere in Cursor.

Operating System

MacOS

Version Information

Version: 3.11.13
VS Code Extension API: 1.125.0
Commit: 3f21b08f0b436a07be29fbfe00b304fa15553350
Date: 2026-07-10T01:45:28.254Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. I reproduced it and it’s a cosmetic bug. In some places, .mts and .cts show a generic icon instead of the TypeScript icon. .mjs and .cjs still get their own icons, which is why it looks different.

Important: this doesn’t affect functionality. .mts and .cts are fully recognized as TypeScript. Language mode, IntelliSense, and syntax highlighting all work as expected. It’s just the icon glyph that’s missing.

I’ve filed this internally. I can’t share an ETA yet, but I’ll post an update in the thread as soon as I have one.