From 6acad3992435bfbaa16a133f6df207b80fe48054 Mon Sep 17 00:00:00 2001 From: Diullei Gomes Date: Sun, 24 Feb 2013 02:59:27 -0300 Subject: [PATCH] fix backbone test --- backbone/backbone-tests.ts | 1 + backbone/backbone.d.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backbone/backbone-tests.ts b/backbone/backbone-tests.ts index 681dbf615..f89b73196 100644 --- a/backbone/backbone-tests.ts +++ b/backbone/backbone-tests.ts @@ -105,6 +105,7 @@ function test_collection() { }); var alphabetical = Books.sortBy(function (book) { + return null; }); } diff --git a/backbone/backbone.d.ts b/backbone/backbone.d.ts index b257e3c69..20cda9368 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -49,7 +49,7 @@ declare module Backbone { export class ModelBase extends Events { fetch(options?: JQueryAjaxSettings); - url(): string; + url: any; parse(response); toJSON(): any; }