diff --git a/backbone/backbone.d.ts b/backbone/backbone.d.ts index d9eca0f212..92ff102dc6 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -135,7 +135,7 @@ declare module Backbone { static extend(properties: any, classProperties?: any): any; // do not use, prefer TypeScript's extend functionality - model: Model; + model: any; models: any; collection: Model; length: number; @@ -265,7 +265,7 @@ declare module Backbone { $(selector: string): JQuery; model: Model; collection: Collection; - template: (data: any) => string; + template: (data?: any) => string; make(tagName: string, attrs?, opts?): View; setElement(element: HTMLElement, delegate?: bool); id: string;