Describe the bug client.tweets.statusesHomeTimeline({...}) returns a list of statuses from the current user timeline. The type should be a list of tweets like Promise<StatusesHomeTimeline[]> and not Promise<StatusesHomeTimeline>. The type given currently is a single tweet even if we get an array of statuses.
To reproduce
Steps to reproduce the behavior:
In a typescript project install the package
call client.tweets.statusesHomeTimeline({...})
the output is a list, the time is a single tweet
Expected behavior
The type should be a list if the method always returns a list of status. Promise<StatusesHomeTimeline[]>, Promise<Array <StatusesHomeTimeline>> or similar.
Describe the bug
client.tweets.statusesHomeTimeline({...})
returns a list of statuses from the current user timeline. The type should be a list of tweets likePromise<StatusesHomeTimeline[]>
and notPromise<StatusesHomeTimeline>
. The type given currently is a single tweet even if we get an array of statuses.To reproduce
Steps to reproduce the behavior:
Expected behavior
The type should be a list if the method always returns a list of status.
Promise<StatusesHomeTimeline[]>
,Promise<Array <StatusesHomeTimeline>>
or similar.Package Manager:
npm
Additional context
N.A.