-
Notifications
You must be signed in to change notification settings - Fork 13.4k
lowercase filename in triple slash directives #45096
Copy link
Copy link
Closed
Labels
Fix AvailableA PR has been opened for this issueA PR has been opened for this issueNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Metadata
Metadata
Assignees
Labels
Fix AvailableA PR has been opened for this issueA PR has been opened for this issueNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Bug Report
Referencing a file name in triple slash directives automatically looks for the lower case filename
🔎 Search Terms
🕗 Version & Regression Information
have seen it since ts > 3.x
⏯ Playground Link
not sure how to reproduce it in the playground
This requires multiple files, and there is no easy way to verify
💻 Code
🙁 Actual behavior
on case sensitive OS, i got a warning from tscompiler about the casing being incorrect.
🙂 Expected behavior
should not get this warning
More Info:
I guess this is related to #26948
and it seems this is correct behaviour.
If that is the case, it would be great to document it alongside triple slash directives or add it to FAQs
https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html