From f4667b3ed1fc43c3078ec47635f866b5ade4303b Mon Sep 17 00:00:00 2001 From: Goscha Graf Date: Mon, 4 Feb 2019 20:03:57 +0100 Subject: [PATCH] Adds string[] type to Params.follow According to the docs and my previous experience working with the API you can provide arrays, here the official documentation: https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter.html --- 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 a66e75bab7..6bcf7482bf 100644 --- a/types/twit/index.d.ts +++ b/types/twit/index.d.ts @@ -263,7 +263,7 @@ declare module 'twit' { user_id?: number | string, lat?: number, long?: number, - follow?: boolean | string, + follow?: boolean | string | string[], include_email?: boolean, cursor?: number | string, tweet_mode?: string,