You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
Hi again, another quick bug. accountsAndUsers.friendshipsNoRetweetsIds() returns Promise<unknown>, but the actual return type appears to be Promise<number[]> (if stringify_ids is false or omitted, which as noted in #101 should not be the case IMO), or Promise<string[]> (if stringify_ids is true).
Describe the bug
Hi again, another quick bug.
accountsAndUsers.friendshipsNoRetweetsIds()returnsPromise<unknown>, but the actual return type appears to bePromise<number[]>(ifstringify_idsisfalseor omitted, which as noted in #101 should not be the case IMO), orPromise<string[]>(ifstringify_idsistrue).To reproduce
const ids = await client.accountsAndUsers.friendshipsNoRetweetsIds().idsin another method or expression.idsis of typeunknown.Expected behavior
The call is well-typed.
Package Manager:
Yarn