mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Update index.d.ts removed fromjs overload that no longer exists in latest knockout.mapping, and added much better type safety for "fromJS". * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * Update index.d.ts * fix for typescript version. * more typescript versioning fixes. * fix for minor bug. * yet another test fix. * yet another test fix.
17 lines
498 B
TypeScript
17 lines
498 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/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
/// <reference types="knockout" />
|
|
|
|
interface KnockoutMapper {
|
|
fromJS(value: any, options?: any, target?: any, wrap?: boolean): any;
|
|
toJS(value: any, options?: any): any;
|
|
}
|
|
|
|
interface KnockoutStatic {
|
|
mapper: KnockoutMapper;
|
|
}
|