We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8399cb7 commit f9e3ddaCopy full SHA for f9e3dda
src/base/Node.ts
@@ -1,6 +1,6 @@
1
import WebSocket = require('ws');
2
import { EventEmitter } from 'events';
3
-import Connection from '../core/Connection';
+import Connection, { Options as ConnectionOptions } from '../core/Connection';
4
import Http, { Track, TrackResponse } from '../core/Http';
5
import PlayerStore from '../core/PlayerStore';
6
@@ -28,7 +28,7 @@ export interface BaseNodeOptions {
28
shardCount?: number;
29
hosts?: {
30
rest?: string;
31
- ws?: string | { url: string, options: WebSocket.ClientOptions };
+ ws?: string | { url: string, options: ConnectionOptions };
32
};
33
host?: string;
34
}
0 commit comments