fix type for v5 sub/unsub method
This commit is contained in:
@@ -139,7 +139,7 @@ export class WebsocketClient extends EventEmitter {
|
|||||||
* @param isPrivateTopic - optional - the library will try to detect private topics, you can use this to mark a topic as private (if the topic isn't recognised yet)
|
* @param isPrivateTopic - optional - the library will try to detect private topics, you can use this to mark a topic as private (if the topic isn't recognised yet)
|
||||||
*/
|
*/
|
||||||
public subscribeV5(
|
public subscribeV5(
|
||||||
wsTopics: WsTopic[] | WsTopic[],
|
wsTopics: WsTopic[] | WsTopic,
|
||||||
category: CategoryV5,
|
category: CategoryV5,
|
||||||
isPrivateTopic?: boolean
|
isPrivateTopic?: boolean
|
||||||
) {
|
) {
|
||||||
@@ -240,7 +240,7 @@ export class WebsocketClient extends EventEmitter {
|
|||||||
* @param isPrivateTopic - optional - the library will try to detect private topics, you can use this to mark a topic as private (if the topic isn't recognised yet)
|
* @param isPrivateTopic - optional - the library will try to detect private topics, you can use this to mark a topic as private (if the topic isn't recognised yet)
|
||||||
*/
|
*/
|
||||||
public unsubscribeV5(
|
public unsubscribeV5(
|
||||||
wsTopics: WsTopic[] | WsTopic[],
|
wsTopics: WsTopic[] | WsTopic,
|
||||||
category: CategoryV5,
|
category: CategoryV5,
|
||||||
isPrivateTopic?: boolean
|
isPrivateTopic?: boolean
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user