diff options
| author | David Skoland <davidskoland@gmail.com> | 2026-03-24 13:56:57 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2026-03-24 13:56:57 +0100 |
| commit | c4258d8f80314339b0707cbb96f74596d7041f1b (patch) | |
| tree | 528b635ea475e88b12ffbd10e20449102ae7c2da /webAO | |
| parent | 28a140dc8ab8adf32c783c6887e29c245981ab51 (diff) | |
| parent | d6163543f483c35737da52b7e307cf6f65828f82 (diff) | |
Merge branch 'master' into reconnect
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/global.d.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/webAO/global.d.ts b/webAO/global.d.ts new file mode 100644 index 0000000..8463106 --- /dev/null +++ b/webAO/global.d.ts @@ -0,0 +1,23 @@ +export {}; + +declare global { + interface Window { + area_click: (el: HTMLElement) => void; + banPlayer: (id: number) => void; + changeBlipVolume: () => void; + changeMusicVolume: (volume?: number) => void; + getIndexFromSelect: (select_box: string, value: string) => number; + kickPlayer: (id: number) => void; + onReplayGo: (_event: Event) => void; + opusCheck: (channel: HTMLAudioElement) => OnErrorEventHandlerNonNull; + pickEmotion: (emo: number) => void; + pickEvidence: (evidence: number) => void; + reloadTheme: () => void; + resizeChatbox: () => void; + setChatbox: (setstyle: string) => void; + showname_click: (_event: Event | null) => void; + switchPanTilt: () => Promise<void>; + updateActionCommands: (side: string) => void; + updateBackgroundPreview: () => void; + } +} |
