nsite-ts/src/polyfill.ts

4 lines
83 B
TypeScript
Raw Normal View History

2024-09-01 13:26:37 -05:00
import { WebSocket } from "ws";
global.WebSocket = global.WebSocket || WebSocket;