Bug Report
Referencing a file name in triple slash directives automatically looks for the lower case filename
🔎 Search Terms
- triple slash directive
- lowercase filename
🕗 Version & Regression Information
have seen it since ts > 3.x
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about triple slash directives / lowercase filename
⏯ Playground Link
not sure how to reproduce it in the playground
This requires multiple files, and there is no easy way to verify
💻 Code
// file2.d.ts
// <reference types="../fileOne.d.ts">
...
...
🙁 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
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