Bug Report
🔎 Search Terms
- playground
- two slash
- filename
🕗 Version & Regression Information
- This is a crash
- This changed between versions ______ and _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⏯ Playground Link
Playground link with relevant code
💻 Code
Code from https://github.com/microsoft/TypeScript-Website/tree/v2/packages/ts-twoslasher#import_filests
// @filename: file-with-export.tsexportconsthelloWorld="Example string"// @filename: index.tsimport{helloWorld}from"./file-with-export"console.log(helloWorld)🙁 Actual behavior
TS2307: Cannot find module './file-with-export' or its corresponding type declarations.
🙂 Expected behavior
It works.
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
Code from https://github.com/microsoft/TypeScript-Website/tree/v2/packages/ts-twoslasher#import_filests
🙁 Actual behavior
TS2307: Cannot find module './file-with-export' or its corresponding type declarations.
🙂 Expected behavior
It works.