This commit is contained in:
mrhavens committed 2025-05-19 20:36:21 -05:00
commit f5303487be
1865 files changed
+260387

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
function getGlobal(): any {
if (typeof self !== 'undefined') { return self; }
if (typeof window !== 'undefined') { return window; }
if (typeof global !== 'undefined') { return global; }
throw new Error('unable to locate global object');
};
const _WebSocket = getGlobal().WebSocket;
export { _WebSocket as WebSocket };