Made any parameter explicit and added tests

This commit is contained in:
Erik Schierboom
2014-11-22 13:21:39 +01:00
parent bd9a1922e4
commit 2db8ff1f09
2 changed files with 68 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,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?: any; parentName?: string; ignore?: string[]; copy?: string[]; include?: string[]; }): any;
}
interface KnockoutStatic {