mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Fix noConflict() definition to return typeof(Backbone), added declaration of Backbone.$;
This commit is contained in:
Vendored
+3
-7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user