mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-09 09:09:58 +00:00
Fix @types/firefox-webext-browser issue
This commit is contained in:
6
ext/src/global.d.ts
vendored
6
ext/src/global.d.ts
vendored
@@ -54,6 +54,12 @@ declare namespace browser.events {
|
||||
declare namespace browser.runtime {
|
||||
interface Port {
|
||||
error: { message: string };
|
||||
|
||||
/**
|
||||
* https://git.io/fjmzb
|
||||
* addListener cb `() => void` is wrong
|
||||
*/
|
||||
onMessage: browser.events.Event
|
||||
}
|
||||
|
||||
function connect (connectInfo: {
|
||||
|
||||
Reference in New Issue
Block a user