From f42164e284d20bfebdea9a6283dc387359f1a46a Mon Sep 17 00:00:00 2001 From: Sascha Thiel Date: Fri, 22 May 2015 14:19:45 +0200 Subject: [PATCH] fixed the collection TModel workaround. --- backbone/backbone.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backbone/backbone.d.ts b/backbone/backbone.d.ts index 7de8eb807..9d54361d5 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -169,9 +169,7 @@ declare module Backbone { **/ private static extend(properties: any, classProperties?: any): any; - // TODO: this really has to be typeof TModel - //model: typeof TModel; - model: { new(): TModel; }; // workaround + model: new (...args:any[]) => TModel; models: TModel[]; length: number;