-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Labels
Milestone
Description
Bug Report
🔎 Search Terms
forceConsistentCasingInFileNamesnode_modules
🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about
forceConsistentCasingInFileNames
⏯ Playground Link
Not available—requires node_modules folder
💻 Code
With forceConsistentCasingInFileNames enabled and fp-ts installed in node_modules:
src/struct.d.ts:
export const foo = 1;// Expected error, but got none ❌
import * as xs1 from "fp-ts/lib/Struct";
// Expected error, but got none ❌
import * as xs2 from "fp-ts/lib/struct";
// Error as expected ✅
import * as xs3 from "./Struct";
// Error as expected ✅
import * as xs4 from "./struct";🙁 Actual behavior
See code comments above.
🙂 Expected behavior
See code comments above.
Reactions are currently unavailable