@jsplumb/util
Advanced tools
Comparing version 5.1.2 to 5.2.0
{ | ||
"name": "@jsplumb/util", | ||
"version": "5.1.2", | ||
"version": "5.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "js/jsplumb.util.cjs.js", |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
export declare function addToDictionary<T>(map: Dictionary<Array<T>>, key: string, value: any, insertAtStart?: boolean): Array<any>; | ||
export declare function addToDictionary<T>(map: Record<string, Array<T>>, key: string, value: any, insertAtStart?: boolean): Array<any>; | ||
@@ -85,11 +85,2 @@ /** | ||
/** | ||
* Simple definition of a map. This construct is being replaced across the codebase with `Record<string, T>` and also `Map<..>` | ||
* @public | ||
* @deprecated | ||
*/ | ||
export declare interface Dictionary<T> { | ||
[Key: string]: T; | ||
} | ||
/** | ||
* Iterates through the given `obj` and applies the given function. if `obj` is not ArrayLike then the function is | ||
@@ -96,0 +87,0 @@ * executed directly on `obj`. |
109844
3634