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
Hi @SoaibHaque, what type has TypeScript assigned to your options object? There are multiple signatures for each API - it's possible that if options is not typed as chrome.windows.CreateData the incorrect signature is being used.
In MV3+, the chrome.windows.create() return a Promise in the documentation
chrome.window.create()
But chrome-types shows wrong return type.
The text was updated successfully, but these errors were encountered: