mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
update recipientLists get return type
Should already return ResultsPromise, must've slipped through the cracks.
This commit is contained in:
Vendored
+1
-1
@@ -116,7 +116,7 @@ declare class SparkPost {
|
||||
* @param {{ show_recipients?: boolean }} [options] specifies whether to retrieve the recipients. Defaults to false
|
||||
* @returns {Promise<SparkPost.RecipientListWithRecipients>}
|
||||
*/
|
||||
get(id: string, options?: { show_recipients?: boolean }): Promise<SparkPost.RecipientListWithRecipients>;
|
||||
get(id: string, options?: { show_recipients?: boolean }): SparkPost.ResultsPromise<SparkPost.RecipientListWithRecipients>;
|
||||
/**
|
||||
* Create a recipient list by providing a recipient list object as the POST request body.
|
||||
* At a minimum, the “recipients” array is required, which must contain a valid “address”.
|
||||
|
||||
Reference in New Issue
Block a user