mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
twitter-stream-channels - fix parameters for StreamChannels: stop()
This commit is contained in:
+3
-3
@@ -48,12 +48,12 @@ declare module 'twitter-stream-channels' {
|
||||
/**
|
||||
* Closes the opened stream with Twitter
|
||||
* @method stop
|
||||
* @param {StreamChannelsOptions} [options]
|
||||
* @param {StreamChannelsOptions} [options.removeAllListeners=false] If true removes all the listeners set on the stream
|
||||
* @param {Object} [options]
|
||||
* @param {Object} [options.removeAllListeners=false] If true removes all the listeners set on the stream
|
||||
* @returns {StreamChannels}
|
||||
* @see https://github.com/topheman/twitter-stream-channels/blob/master/lib/StreamChannels.js#L120
|
||||
*/
|
||||
stop(options?: StreamChannels.StreamChannelsOptions): StreamChannels;
|
||||
stop(options?: {removeAllListeners: boolean}): StreamChannels;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user