DefinitelyTyped/knockout.mapper/knockout.mapper.d.ts
Bart van der Schoor 1d345f6c14 cleaned-up headers
2014-06-18 23:31:11 +02:00

16 lines
483 B
TypeScript

// 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;
}