https://github.com/bitjson/typescript-bug
example of a bug in TypeScript's forceConsistentCasingInFileNames
https://github.com/bitjson/typescript-bug
Last synced: 12 months ago
JSON representation
example of a bug in TypeScript's forceConsistentCasingInFileNames
- Host: GitHub
- URL: https://github.com/bitjson/typescript-bug
- Owner: bitjson
- Created: 2017-06-30T22:39:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T22:58:22.000Z (over 8 years ago)
- Last Synced: 2025-01-14T06:47:09.755Z (about 1 year ago)
- Language: TypeScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Example of a bug in TypeScript's forceConsistentCasingInFileNames.
## Normal case:
```bash
cd CAPITALIZATION-IN-PATH
tsc -p tsconfig.json
# success
```
## Bug
```bash
cd CAPITALIZATION-IN-PATH
tsc -p config/tsconfig.json
1 import { doubleSpeed } from 'speed-doubler'
~~~~~~~~~~~~~~~
src/lib/speed-doubler.spec.ts(1,29): error TS1149: File name '[...]/capitalization-in-path/src/index.ts' differs from already included file name '[...]/CAPITALIZATION-IN-PATH/src/index.ts' only in casing.
```