@types/twit
Advanced tools
Comparing version 2.2.6 to 2.2.7
@@ -11,2 +11,3 @@ // Type definitions for twit 2.2 | ||
import { IncomingMessage } from 'http'; | ||
import { EventEmitter } from 'events'; | ||
@@ -268,2 +269,6 @@ namespace Twit { | ||
} | ||
export interface Stream extends EventEmitter { | ||
start(): void; | ||
stop(): void; | ||
} | ||
} | ||
@@ -309,3 +314,3 @@ | ||
*/ | ||
stream(path: Twit.StreamEndpoint, params?: Twit.Params): NodeJS.ReadableStream; | ||
stream(path: Twit.StreamEndpoint, params?: Twit.Params): Twit.Stream; | ||
} | ||
@@ -312,0 +317,0 @@ |
{ | ||
"name": "@types/twit", | ||
"version": "2.2.6", | ||
"version": "2.2.7", | ||
"description": "TypeScript definitions for twit", | ||
@@ -23,4 +23,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "c1a4c83387986a6193a43145d7c38c109e0baa1d7fc162a9206c05aef277e378", | ||
"typesPublisherContentHash": "852f7bd3f49d747da1db8b06ab3e988176872b98b074e44c817c9f60e8a249aa", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 26 Sep 2017 18:20:22 GMT | ||
* Dependencies: http, node, geojson | ||
* Last updated: Fri, 06 Oct 2017 18:28:27 GMT | ||
* Dependencies: http, events, node, geojson | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
11406
297