You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I recall, when it builds fine but vscode is unhappy with specifically content script types, it's because vscode is set up with the rest of the browser extension code environment in mind, content scripts being code for a bit of a separate environment which confuses it.
I think the project follows the default ./tsconfig.json but content scripts follow ./conf/tsconfig.content_scripts.json, which then throws errors when working on content scripts with the ./tsconfig.json settings in vscode.
I guess one possibility would be to have a separate code-workspace file that is tailored for the content scripts only. Which is inconvenient. Or perhaps some other project settings, where it could use separate tsconfig for content scripts folder if possible.
But of course, if it can be managed to fix this just by updating types, then we could just do that.
I can build it without errors, but the IDE is not happy. Are you seeing the same, or is it just me?
The text was updated successfully, but these errors were encountered: