bingo / src /lib /isomorphic /browser.ts
nier111's picture
Duplicate from hf4all/bingo
fbad01d
raw
history blame contribute delete
235 Bytes
'use client'
const debug = console.info.bind(console)
class WebSocketAlias extends WebSocket {
constructor(address: string | URL, ...args: any) {
super(address)
}
}
export default { fetch, WebSocket: WebSocketAlias, debug }