mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Updated breeze.d.ts, durandal.d.ts and knockout.mapping.d.ts to better support TS 0.9.
This commit is contained in:
1 parent
e31c801c6c
commit
613809f5d8
3 files changed
+93
-93
No files matched your search
+2
-2
@@ -21,14 +21,14 @@ interface KnockoutMappingOptions {
|
||||
include?: string[];
|
||||
copy?: string[];
|
||||
mappedProperties?: string[];
|
||||
deferEvaluation?: bool;
|
||||
deferEvaluation?: boolean;
|
||||
create?: (options: KnockoutMappingCreateOptions) => void;
|
||||
update?: (options: KnockoutMappingUpdateOptions) => void;
|
||||
key?: (data: any) => any;
|
||||
}
|
||||
|
||||
interface KnockoutMapping {
|
||||
isMapped(viewModel: any): bool;
|
||||
isMapped(viewModel: any): boolean;
|
||||
fromJS(jsObject: any): any;
|
||||
fromJS(jsObject: any, targetOrOptions: any): any;
|
||||
fromJS(jsObject: any, inputOptions: any, target: any): any;
|
||||
|
||||
Reference in new issue
Block a user