import { Deferred } from "./Deferred"; interface DeferredList extends Deferred { /** * Gathers the results of the deferreds for packaging * as the parameters to the Deferred Lists' callback */ gatherResults(deferredList: DeferredList): DeferredList; } interface DeferredListConstructor { /** * Deprecated, use dojo/promise/all instead. * Provides event handling for a group of Deferred objects. */ new (list: T[], fireOnOneCallback?: boolean, fireOnOneErrback?: boolean, consumeErrors?: boolean, canceller?: (reason: any) => void): DeferredList; prototype: DeferredList; }