Playground link

As described by @modderme123 in #103 (comment):
This is an issue with files that don't have imports or exports and are then treated as a global script file. One trick might be to add a tsconfig flag to ignore output_dont_import.tsx?
I tried adding an exclude option to languages.typescript.typescriptDefaults.setCompilerOptions (in src/components/editor/setupSolid.ts) but it doesn't seem to fix the problem.
I previously wrote:
It seems that src/components/editor/monacoTabs.tsx's MonacoTabs creates two models: the model at the top of the function and the model for each tab in tabs. I'm seeing the same source code in both the root model and a tab, which is presumably the source of the problem. [...] Could we remove one of the duplicates (presumably the top-level model?)?
Playground link
As described by @modderme123 in #103 (comment):
I tried adding an
excludeoption tolanguages.typescript.typescriptDefaults.setCompilerOptions(insrc/components/editor/setupSolid.ts) but it doesn't seem to fix the problem.I previously wrote: