forceConsistentCasingInFileNames
doesn't work as advertisted
#54642
Labels
Duplicate
An existing issue was already created
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
forceConsistentCasingInFileNames
💻 Code
tsconfig.json
:src/main.ts
:src/foo.ts
:🙁 Actual behavior
Testing on macOS (case insensitive file system), there is no type error (in my editor and when I run
tsc
).🙂 Expected behavior
There should be a type error due to incorrect casing for
import { foo } from "./FOO";
, as per the documentation forforceConsistentCasingInFileNames
:— https://www.typescriptlang.org/tsconfig#forceConsistentCasingInFileNames
The text was updated successfully, but these errors were encountered: