mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Add timeline parameters
user_id could be a string
This commit is contained in:
Vendored
+7
-2
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Volox <https://github.com/Volox>
|
||||
// lostfictions <https://github.com/lostfictions>
|
||||
// sapphiredev <https://github.com/sapphiredev>
|
||||
// araham <https://github.com/abraham>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -256,14 +257,18 @@ declare module 'twit' {
|
||||
screen_name?: string,
|
||||
id?: string,
|
||||
slug?: string,
|
||||
owner_screen_name?: string,
|
||||
status?: string,
|
||||
user_id?: number,
|
||||
user_id?: number | string,
|
||||
lat?: number,
|
||||
long?: number,
|
||||
follow?: boolean,
|
||||
include_email?: boolean,
|
||||
cursor?: number,
|
||||
tweet_mode? :string,
|
||||
tweet_mode?: string,
|
||||
trim_user?: boolean,
|
||||
exclude_replies?: boolean,
|
||||
include_rts?: boolean,
|
||||
}
|
||||
export interface PromiseResponse {
|
||||
data: Response,
|
||||
|
||||
Reference in New Issue
Block a user