mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Convert ext main.js -> main.ts
This commit is contained in:
18
ext/src/global.d.ts
vendored
Normal file
18
ext/src/global.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
declare const EXTENSION_NAME: string;
|
||||
declare const EXTENSION_ID: string;
|
||||
declare const EXTENSION_VERSION: string;
|
||||
declare const MIRRORING_APP_ID: string;
|
||||
declare const APPLICATION_NAME: string;
|
||||
declare const APPLICATION_VERSION: string;
|
||||
|
||||
// Fix issues with @types/firefox-webext-browser
|
||||
declare namespace browser.events {
|
||||
interface Event {
|
||||
addListener (...args: any[]): void;
|
||||
}
|
||||
}
|
||||
declare namespace browser.runtime {
|
||||
interface Port {
|
||||
error: { message: string };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user