Skip to content

bitjson/typescript-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Example of a bug in TypeScript's forceConsistentCasingInFileNames.

Normal case:

cd CAPITALIZATION-IN-PATH
tsc -p tsconfig.json

# success

Bug

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.

About

example of a bug in TypeScript's forceConsistentCasingInFileNames

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published