Commit Graph

5 Commits

Author SHA1 Message Date
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Adithya Reddy
6a96efd84a Fixed incorrect type for Twit.stream (#20173)
The Twit docs [specifically says](https://github.com/ttezel/twit#using-the-streaming-api) that the `stream` function returns an `EventEmitter`. It also says that the `EventEmitter` has [two methods - `start()` and `stop()`](https://github.com/ttezel/twit#streamstop) to start and stop the Twitter stream.

The return type was incorrectly specified as a `NodeJS.ReadableStream`. This fixes that.
2017-10-06 11:22:29 -07:00
Simon
3391040c5a fix(twit): add some missing params (#20026) 2017-09-26 11:09:19 -07:00
Takeshi Nishida
3bca67a5e7 Update twit/index.d.ts (#16957)
Added a missing param "track" to interface Param
2017-06-05 13:49:32 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00