UNPKG

typescript-closure-tools

Version:

Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files

39 lines (31 loc) 1.19 kB
/// <reference path="../../../globals.d.ts" /> /// <reference path="../events/eventtarget.d.ts" /> /// <reference path="../uri/uri.d.ts" /> declare module goog.net { class BulkLoader extends BulkLoader__Class { } /** Fake class which should be extended to avoid inheriting static properties */ class BulkLoader__Class extends goog.events.EventTarget__Class { /** * Class used to load multiple URIs. * @param {Array.<string|goog.Uri>} uris The URIs to load. * @constructor * @extends {goog.events.EventTarget} * @final */ constructor(uris: string|goog.Uri[]); /** * Gets the response texts, in order. * @return {Array.<string>} The response texts. */ getResponseTexts(): string[]; /** * Gets the request Uris. * @return {Array.<string>} The request URIs, in order. */ getRequestUris(): string[]; /** * Starts the process of loading the URIs. */ load(): void; } }