fix: 🐛 sockjs-client 报错 global is not defined 导致开发环境无法打开 WebSocket 页面问题修复

closed https://github.com/sockjs/sockjs-client/issues/565
This commit is contained in:
hxr committed 2024-05-14 07:40:34 +08:00
1 parent dddfefec89
commit 4f119adb9e
2 files changed
+121 -114

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
// https://github.com/sockjs/sockjs-client/issues/565
declare module "sockjs-client/dist/sockjs.min.js" {
import Client from "sockjs-client";
export default Client;
}