mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Knockout.Mapper Basic Definitions
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
// Type definitions for Knockout.Mapper
|
||||
// Project: https://github.com/LucasLorentz/knockout.mapper
|
||||
// Definitions by: Brandon Meyer <https://github.com/BMeyerKC>
|
||||
// Definitions https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../knockout/knockout.d.ts" />
|
||||
|
||||
interface KnockoutMapper {
|
||||
fromJS(value: any, options?: any, target?: any, wrap?: boolean): any;
|
||||
toJS(value: any, options?: any): any;
|
||||
}
|
||||
|
||||
interface KnockoutStatic {
|
||||
mapper: KnockoutMapper;
|
||||
}
|
||||
Reference in New Issue
Block a user