From bb80320c245e7ee11db83e15da317fec0a2cb813 Mon Sep 17 00:00:00 2001 From: Ivan Reyes Date: Wed, 9 Oct 2019 14:07:58 -0500 Subject: [PATCH] Updated types for @types/twit (#38985) Added parameters to `interface Param` to allow calling more Twitter stream API endpoints --- types/twit/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/twit/index.d.ts b/types/twit/index.d.ts index 33f1fdb50f..fddd0782b5 100644 --- a/types/twit/index.d.ts +++ b/types/twit/index.d.ts @@ -6,6 +6,7 @@ // siwalik // plhery // justGoscha +// 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,