Support compatibility points for Safari
Tested on MacOS Big Sur, Safari 14.0.3
This commit is contained in:
parent
b61fe2f8e6
commit
b08e47bfe1
4 changed files with 155 additions and 25 deletions
3
src/@types/global.d.ts
vendored
3
src/@types/global.d.ts
vendored
|
@ -52,6 +52,9 @@ declare global {
|
|||
init: () => Promise<void>;
|
||||
};
|
||||
|
||||
// Needed for Safari, unknown to TypeScript
|
||||
webkitAudioContext: typeof AudioContext;
|
||||
|
||||
mxContentMessages: ContentMessages;
|
||||
mxToastStore: ToastStore;
|
||||
mxDeviceListener: DeviceListener;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue