Installation
npm install --save @types/knockout.mapper
Summary
This package contains type definitions for knockout.mapper (https://github.com/LucasLorentz/knockout.mapper).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/knockout.mapper.
index.d.ts
/// <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;
}
Additional Details
- Last updated: Tue, 30 Jan 2024 21:35:45 GMT
- Dependencies: @types/knockout
Credits
These definitions were written by Brandon Meyer.