mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +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 {
|
declare namespace browser.runtime {
|
||||||
interface Port {
|
interface Port {
|
||||||
error: { message: string };
|
error: { message: string };
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://git.io/fjmzb
|
||||||
|
* addListener cb `() => void` is wrong
|
||||||
|
*/
|
||||||
|
onMessage: browser.events.Event
|
||||||
}
|
}
|
||||||
|
|
||||||
function connect (connectInfo: {
|
function connect (connectInfo: {
|
||||||
|
|||||||
Reference in New Issue
Block a user