Updated types for @types/twit (#38985)

Added parameters to `interface Param` to allow calling more Twitter stream API endpoints
This commit is contained in:
Ivan Reyes 2019-10-09 14:07:58 -05:00 committed by Armando Aguirre
parent 81f26b497c
commit bb80320c24

View File

@ -6,6 +6,7 @@
// siwalik <https://github.com/siwalikm>
// plhery <https://github.com/plhery>
// justGoscha <https://github.com/justgoscha>
// darkade <https://github.com/darkade>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@ -248,6 +249,11 @@ declare module 'twit' {
max_id?: string,
include_entities?: boolean,
source_id?: number,
source_screen_name?: string,
target_id?: number,
target_screen_name?: string,
// Other params from various endpoints
track?: string | string[],
media_id?: string,