mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
normalize line ending (CRLF -> LF)
This commit is contained in:
+20
-20
@@ -1,21 +1,21 @@
|
||||
// Type definitions for Knockout Viewmodel 1.1.3
|
||||
// Project: http://coderenaissance.github.com/knockout.viewmodel/
|
||||
// Definitions by: Oisin Grehan <https://github.com/oising>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../knockout/knockout.d.ts" />
|
||||
|
||||
interface KnockoutViewModelStatic {
|
||||
toModel(viewmodel: any): any;
|
||||
fromModel(model: any, options?: any): any;
|
||||
updateFromModel(viewmodel: any, model: any);
|
||||
|
||||
// INTERNAL flag: enable logging of conversions
|
||||
// logs will be written to console
|
||||
logging: boolean;
|
||||
}
|
||||
|
||||
// Extend ko global
|
||||
interface KnockoutStatic {
|
||||
viewmodel: KnockoutViewModelStatic;
|
||||
// Type definitions for Knockout Viewmodel 1.1.3
|
||||
// Project: http://coderenaissance.github.com/knockout.viewmodel/
|
||||
// Definitions by: Oisin Grehan <https://github.com/oising>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../knockout/knockout.d.ts" />
|
||||
|
||||
interface KnockoutViewModelStatic {
|
||||
toModel(viewmodel: any): any;
|
||||
fromModel(model: any, options?: any): any;
|
||||
updateFromModel(viewmodel: any, model: any);
|
||||
|
||||
// INTERNAL flag: enable logging of conversions
|
||||
// logs will be written to console
|
||||
logging: boolean;
|
||||
}
|
||||
|
||||
// Extend ko global
|
||||
interface KnockoutStatic {
|
||||
viewmodel: KnockoutViewModelStatic;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user