fixed the collection TModel workaround.

This commit is contained in:
Sascha Thiel
2015-05-22 14:19:45 +02:00
parent aadd63ecae
commit f42164e284
+1 -3
View File
@@ -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;