-
Couldn't load subscription status.
- Fork 13.1k
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.