-
Notifications
You must be signed in to change notification settings - Fork 12.8k
[Playground] two slash @filename
not work in typescript playground
#52666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Multiple files aren’t supported on the playground. |
@andrewbranch You should consider updating the help docs on ts-playground then, it has an extra entry regarding multi-file playgrounds: https://www.typescriptlang.org/play#handbook-15 |
We don't intend to support this in the playground. You can use the Bug Workbench to do multi-file repros. |
@RyanCavanaugh Thanks for mentioning that. I wasn't aware of the Bug Workbench before today. I'm actually still not sure how I can find it without a generalized search engine: there are no search results for "workbench" in the docs: Update: Here's a link to the workbench documentation page that I found by clicking around more in the playground — it's accessible via the "Help" menu at the top of the playground: https://www.typescriptlang.org/play?#handbook-17 |
@jsejcksn I searched for multi-file TS Playground and found your answer. I also didn't know about Bug Workbench before. Thanks for your sharing, it's very helpful for my debugging with the latest option |
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.
The text was updated successfully, but these errors were encountered: