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 has been archived by the owner on Oct 19, 2023. It is now read-only.
getContacts(id,options){if(!id){returnPromise.reject(newError('id parameter must be provided.'))}returnthis.client.apiRequest({method: 'GET',path: `/contacts/v1/lists/${id}/contacts/all`,qs: options,qsStringifyOptions: {indices: false},})}
Note that the actual function takes two arguments, but the typedef only describes one argument. This causes an error to be thrown when passing an options argument to `getContacts.
Are there other functions where the typedef is incorrect? Should I open a PR to bring these in sync?
The text was updated successfully, but these errors were encountered:
I found a typedef that does not match the actual function that it describes.
From
/lib/list.js
:From
/typescript/list.ts
:Note that the actual function takes two arguments, but the typedef only describes one argument. This causes an error to be thrown when passing an options argument to `getContacts.
Are there other functions where the typedef is incorrect? Should I open a PR to bring these in sync?
The text was updated successfully, but these errors were encountered: