mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Updated types for @types/twit (#38985)
Added parameters to `interface Param` to allow calling more Twitter stream API endpoints
This commit is contained in:
parent
81f26b497c
commit
bb80320c24
6
types/twit/index.d.ts
vendored
6
types/twit/index.d.ts
vendored
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user