antfu-collective / vitesse-webext

⚡️ WebExtension Vite Starter Template
MIT License
2.93k stars 225 forks source link

ignore typing for `side_panel` in manifest #192

Closed uinstinct closed 2 months ago

uinstinct commented 2 months ago

Description

manifest.side_panel produces a type error: Property 'side_panel' does not exist on type 'WebExtensionManifest'.

we can typecast it as any

Linked Issues

Additional context

tmkx commented 2 months ago

Personally, I like to refer to the chrome.runtime.ManifestV3 type here, but I’ve confirmed that @types/chrome hasn’t updated the field yet, so let’s go ahead and merge this PR now.