Move all status/alert dialogs into the Left Pane
This commit is contained in:
parent
101070bf42
commit
18fd44f504
50 changed files with 1298 additions and 607 deletions
12
ts/shims/socketStatus.ts
Normal file
12
ts/shims/socketStatus.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
interface ShimmedWindow extends Window {
|
||||
getSocketStatus: () => number;
|
||||
}
|
||||
|
||||
const unknownWindow = window as unknown;
|
||||
const shimmedWindow = unknownWindow as ShimmedWindow;
|
||||
|
||||
export function getSocketStatus() {
|
||||
const { getSocketStatus: getMessageReceiverStatus } = shimmedWindow;
|
||||
|
||||
return getMessageReceiverStatus();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue