We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c218d37 + c42f1cb commit 09bc2e6Copy full SHA for 09bc2e6
src/compiler/program.ts
@@ -2010,6 +2010,7 @@ namespace ts {
2010
}
2011
2012
function processTypeReferenceDirectives(file: SourceFile) {
2013
+ // We lower-case all type references because npm automatically lowercases all packages. See GH#9824.
2014
const typeDirectives = map(file.typeReferenceDirectives, ref => ref.fileName.toLocaleLowerCase());
2015
const resolutions = resolveTypeReferenceDirectiveNamesWorker(typeDirectives, file.fileName);
2016
0 commit comments