aspizu
aspizu10mo ago

How to work without a tsconfig.json in VSCode? Getting typescript errors due to React.

Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.typescript(2583)
Cannot find name 'Map'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2015' or later.typescript(2583)
The project contains deno.json file but the vscode typescript integration doesn't care.
No description
9 Replies
marvinh.
marvinh.10mo ago
Install the Deno extension. If you have already, run the Deno: enable command in vscode
marvinh.
marvinh.10mo ago
Thanks for filing an issue. @nayeemrmn will take a look once the easter holidays are over.
aspizu
aspizuOP10mo ago
is there any more info i should include?
nayeemrmn
nayeemrmn10mo ago
@aspizu It's strange that it's continuing despite disabling the built-in extension. Which one did you disable? It should be TypeScript and JavaScript Language Features.
aspizu
aspizuOP10mo ago
yep thats the one i disabled
aspizu
aspizuOP10mo ago
No description
nayeemrmn
nayeemrmn10mo ago
Do you have any other extensions enabled that could be the cause?
aspizu
aspizuOP9mo ago
civet

Did you find this page helpful?