Merge pull request #10387 from Microsoft/comment_process_type_reference_directives
Explain why we lower-case type reference directives
This commit is contained in:
commit
09bc2e6b41
1 changed files with 1 additions and 0 deletions
|
@ -2010,6 +2010,7 @@ namespace ts {
|
|||
}
|
||||
|
||||
function processTypeReferenceDirectives(file: SourceFile) {
|
||||
// We lower-case all type references because npm automatically lowercases all packages. See GH#9824.
|
||||
const typeDirectives = map(file.typeReferenceDirectives, ref => ref.fileName.toLocaleLowerCase());
|
||||
const resolutions = resolveTypeReferenceDirectiveNamesWorker(typeDirectives, file.fileName);
|
||||
|
||||
|
|
Loading…
Reference in a new issue