Fix noConflict() definition to return typeof(Backbone), added declaration of Backbone.$;

This commit is contained in:
Natan Vivo
2013-11-24 17:30:32 -02:00
parent 8b853198c7
commit 00bf83cd8e
+3 -7
View File
@@ -330,12 +330,8 @@ declare module Backbone {
var emulateJSONBackbone: boolean;
// Utility
// 0.9 cannot return modules anymore, and "typeof <Module>" is not compiling for some reason
// returning "any" until this is fixed
//function noConflict(): typeof Backbone;
function noConflict(): any;
function noConflict(): typeof Backbone;
function setDomLibrary(jQueryNew: any): any;
var $: JQueryStatic;
}