mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-15 09:37:52 +08:00
Missing Key Method In Knockout Mapping
This commit is contained in:
13
knockout.mapping/knockout.mapping.d.ts
vendored
13
knockout.mapping/knockout.mapping.d.ts
vendored
@@ -17,13 +17,14 @@ interface KnockoutMappingUpdateOptions {
|
||||
}
|
||||
|
||||
interface KnockoutMappingOptions {
|
||||
ignore? : string[];
|
||||
include? : string[];
|
||||
copy? : string[];
|
||||
mappedProperties? : string[];
|
||||
deferEvaluation? : bool;
|
||||
ignore?: string[];
|
||||
include?: string[];
|
||||
copy?: string[];
|
||||
mappedProperties?: string[];
|
||||
deferEvaluation?: bool;
|
||||
create?: (options: KnockoutMappingCreateOptions) => void;
|
||||
update?: (options: KnockoutMappingUpdateOptions) => void;
|
||||
key?: (data: any) => any;
|
||||
}
|
||||
|
||||
interface KnockoutMapping {
|
||||
@@ -37,7 +38,7 @@ interface KnockoutMapping {
|
||||
defaultOptions(): KnockoutMappingOptions;
|
||||
resetDefaultOptions(): void;
|
||||
getType(x: any): any;
|
||||
visitModel(rootObject: any, callback: Function, options?: { visitedObjects?; parentName?; ignore?; copy?; include?; } ): any;
|
||||
visitModel(rootObject: any, callback: Function, options?: { visitedObjects?; parentName?; ignore?; copy?; include?; }): any;
|
||||
}
|
||||
|
||||
interface KnockoutStatic {
|
||||
|
||||
Reference in New Issue
Block a user