From 63ae54c867e3123af911927e7b2eab4b7f89174c Mon Sep 17 00:00:00 2001 From: Anand Prakash Date: Sun, 27 Apr 2014 18:38:43 -0700 Subject: [PATCH] Added constructor support for QueryCollection interface --- winjs/winjs.d.ts | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/winjs/winjs.d.ts b/winjs/winjs.d.ts index a2e95e557..b5ded7a59 100644 --- a/winjs/winjs.d.ts +++ b/winjs/winjs.d.ts @@ -7905,17 +7905,6 @@ declare module WinJS.Utilities { * Represents the result of a query selector, and provides various operations that perform actions over the elements of the collection. **/ interface QueryCollection extends Array { - //#region Constructors - - /** - * Initializes a new instance of a QueryCollection. - * @constructor - * @param items The items resulting from the query. - **/ - constructor(items: T[]); - - //#endregion Constructors - //#region Methods /** @@ -8062,6 +8051,14 @@ declare module WinJS.Utilities { } + /** + * Constructor support for QueryCollection interface + **/ + export var QueryCollection: { + new (items: T[]): QueryCollection; + prototype: QueryCollection; + } + //#endregion Objects //#region Functions