From d679d0523172d08803bf2d05bc20f6d52d61aa3e Mon Sep 17 00:00:00 2001 From: Abraham Williams <4braham@gmail.com> Date: Sun, 17 Jun 2018 17:26:46 -0500 Subject: [PATCH 1/3] Add timeline parameters user_id could be a string --- types/twit/index.d.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/types/twit/index.d.ts b/types/twit/index.d.ts index 89d28766b3..1ed4aded92 100644 --- a/types/twit/index.d.ts +++ b/types/twit/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Volox // lostfictions // sapphiredev +// araham // 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, From 5d6c1b1aeb8d7114ed90859ae15074a261f4a859 Mon Sep 17 00:00:00 2001 From: Abraham Williams <4braham@gmail.com> Date: Sun, 17 Jun 2018 17:42:15 -0500 Subject: [PATCH 2/3] Add skip_status --- types/twit/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/twit/index.d.ts b/types/twit/index.d.ts index 1ed4aded92..54d62f5cdb 100644 --- a/types/twit/index.d.ts +++ b/types/twit/index.d.ts @@ -269,6 +269,7 @@ declare module 'twit' { trim_user?: boolean, exclude_replies?: boolean, include_rts?: boolean, + skip_status?: boolean, } export interface PromiseResponse { data: Response, From 6b6765690807dab2816059008e261ae1cea57e52 Mon Sep 17 00:00:00 2001 From: Abraham Williams <4braham@gmail.com> Date: Tue, 19 Jun 2018 09:15:39 -0500 Subject: [PATCH 3/3] Fix name --- types/twit/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/twit/index.d.ts b/types/twit/index.d.ts index 54d62f5cdb..97acbe3688 100644 --- a/types/twit/index.d.ts +++ b/types/twit/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Volox // lostfictions // sapphiredev -// araham +// abraham // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3