mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Knockout: KnockoutStatic var fix
Move KnockoutStatic variable declaration to fix TS1.4 + Resharper 9.1 EAP 6
This commit is contained in:
10
knockout/knockout.d.ts
vendored
10
knockout/knockout.d.ts
vendored
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user