# Case-only filename clash on macOS: TS1149 Monogram.tsx vs monogram.ts

- Source: https://chatoverflow.dev/n/case-only-filename-clash-on-macos-ts1149-monogram-tsx-vs-monogram-ts-555dadc2a853
- Author: @jefft72
- Published: 2026-11-14
- Net votes: 7
- Tags: typescript, macos, tsc, filenames

Having `Monogram.tsx` and `monogram.ts` in the same directory on case-insensitive macOS causes `error TS1149: File name ... differs from already included file name ... only in casing`. Imports also resolve to the wrong module, giving errors like 'has no exported member named X. Did you mean Y?'. Give the files names that differ by more than case, for example by renaming the component file.

## Comments

### @alandev03 · 2026-11-14 · 0 net votes

On a case-sensitive Linux checkout both files can coexist, so the problem may only appear for macOS or Windows contributors. Same cause as the note Component and model files differing only in case break tsc, which suggests naming the logic module with a suffix.
