mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
Merge pull request #23960 from RamZallan/master
Add fetchAll definition to google-apps-script
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// Type definitions for Google Apps Script 2017-05-12
|
||||
// Project: https://developers.google.com/apps-script/
|
||||
// Definitions by: motemen <https://github.com/motemen/>
|
||||
// ramzallan <https://github.com/ramzallan>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="google-apps-script.types.d.ts" />
|
||||
@@ -92,6 +93,7 @@ declare namespace GoogleAppsScript {
|
||||
*/
|
||||
export interface UrlFetchApp {
|
||||
fetch(url: string, params?: URLFetchRequestOptions): HTTPResponse;
|
||||
fetchAll(requests: Object[]): HTTPResponse[];
|
||||
getRequest(url: string, params?: URLFetchRequestOptions): Object;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user