UNPKG
isomorphic-ws
Version:
beta (5.0.0-beta.3)
latest (5.0.0)
5.0.0
5.0.0-beta.3
5.0.0-beta.2
5.0.0-beta.1
4.0.1
4.0.0
3.2.0
2.3.1
Isomorphic implementation of WebSocket
github.com/heineiuo/isomorphic-ws
heineiuo/isomorphic-ws
isomorphic-ws
/
index.d.ts
8 lines
(6 loc)
•
256 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
// Type definitions for isomorphic-ws
// Run `npm install @types/ws` before using this.
// Fix for https://github.com/heineiuo/isomorphic-ws/issues/8
// If there is still something wrong, welcome issue.
import
WebSocket
=
require
(
'ws'
)
export
=
WebSocket