mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 17:08:21 +08:00
Append 'unsubscribe’, 'resubscribe' function's return-type annotation
This commit is contained in:
@@ -1 +0,0 @@
|
||||
""
|
||||
4
arbiter/Arbiter.d.ts
vendored
4
arbiter/Arbiter.d.ts
vendored
@@ -121,12 +121,12 @@ declare module ArbiterDef {
|
||||
/**
|
||||
* Unsubscribing simply sets a flag which prevents the subscriber from executing, in case you want to re-subscribe later.
|
||||
*/
|
||||
unsubscribe(subscription_id: number);
|
||||
unsubscribe(subscription_id: number): boolean;
|
||||
|
||||
/**
|
||||
* After unsubscribing, you can later re-subscribe to begin receiving messages again.
|
||||
*/
|
||||
resubscribe(subscription_id: number);
|
||||
resubscribe(subscription_id: number): boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
""
|
||||
Reference in New Issue
Block a user