Knockout: KnockoutStatic var fix

Move KnockoutStatic variable declaration to fix TS1.4 + Resharper 9.1
EAP 6
This commit is contained in:
AdvancedREI
2015-03-14 09:05:52 -07:00
parent 40eea5dc8f
commit c281cd0dc4

View File

@@ -1,4 +1,4 @@
// Type definitions for Knockout v3.2.0
// Type definitions for Knockout v3.2.0
// Project: http://knockoutjs.com
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Igor Oleinikov <https://github.com/Igorbek/>, Clément Bourgeois <https://github.com/moonpyk/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -637,12 +637,8 @@ interface KnockoutComponents {
getComponentNameForNode(node: Node): string;
}
declare var ko: KnockoutStatic;
declare module "knockout" {
export = ko;
}
declare var ko: KnockoutStatic;
}