mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-15 07:10:00 -04:00
gyghhhhhhhh
This commit is contained in:
commit
86abdca21e
23 changed files with 1464 additions and 0 deletions
26
dist/Switcher.d.ts
vendored
Normal file
26
dist/Switcher.d.ts
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { BareTransport } from "./BareTypes";
|
||||
declare global {
|
||||
interface ServiceWorkerGlobalScope {
|
||||
gSwitcher: Switcher;
|
||||
BCC_VERSION: string;
|
||||
BCC_DEBUG: boolean;
|
||||
}
|
||||
interface WorkerGlobalScope {
|
||||
gSwitcher: Switcher;
|
||||
BCC_VERSION: string;
|
||||
BCC_DEBUG: boolean;
|
||||
}
|
||||
interface Window {
|
||||
gSwitcher: Switcher;
|
||||
BCC_VERSION: string;
|
||||
BCC_DEBUG: boolean;
|
||||
}
|
||||
}
|
||||
declare class Switcher {
|
||||
transports: Record<string, BareTransport>;
|
||||
active: BareTransport | null;
|
||||
}
|
||||
export declare function findSwitcher(): Switcher;
|
||||
export declare function AddTransport(name: string, client: BareTransport): void;
|
||||
export declare function SetTransport(name: string): void;
|
||||
export {};
|
Loading…
Add table
Add a link
Reference in a new issue