This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
accountsAndUsers.friendshipsNoRetweetsIds()
returns Promise<unknown>
#103
Labels
bug
Something isn't working
Describe the bug
Hi again, another quick bug.
accountsAndUsers.friendshipsNoRetweetsIds()
returnsPromise<unknown>
, but the actual return type appears to bePromise<number[]>
(ifstringify_ids
isfalse
or omitted, which as noted in #101 should not be the case IMO), orPromise<string[]>
(ifstringify_ids
istrue
).To reproduce
const ids = await client.accountsAndUsers.friendshipsNoRetweetsIds()
.ids
in another method or expression.ids
is of typeunknown
.Expected behavior
The call is well-typed.
Package Manager:
Yarn
The text was updated successfully, but these errors were encountered: