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.
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.
Hey @arrowheadapps, circling back on this. The file icon handling in the Agent Window was reworked a few weeks after your report, and now .mts and .cts get the TypeScript icon just like .ts (and .mjs and .cjs keep their own).
If you’re on the latest version, it should already look correct. If you still see a generic icon for .mts or .cts anywhere, tell me exactly where, and I’ll take another look.