standard-data-structures
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"devDependencies": { | ||
@@ -33,0 +33,0 @@ "@tusharmathur/typedoc": "^1.0.0", |
@@ -8,6 +8,5 @@ import { Option } from './option'; | ||
/** | ||
* Gives a new instance of HashMap | ||
* @param dict Map | ||
* Creates a new instance of [[HashMap]] | ||
*/ | ||
static of<Key, Val>(dict: Map<Key, Val>): HashMap<Key, Val>; | ||
static of<K, V>(entries?: ReadonlyArray<readonly [K, V]>): HashMap<K, V>; | ||
private constructor(); | ||
@@ -14,0 +13,0 @@ /** |
@@ -13,7 +13,6 @@ "use strict"; | ||
/** | ||
* Gives a new instance of HashMap | ||
* @param dict Map | ||
* Creates a new instance of [[HashMap]] | ||
*/ | ||
static of(dict) { | ||
return new HashMap(dict); | ||
static of(entries) { | ||
return new HashMap(new Map(entries)); | ||
} | ||
@@ -20,0 +19,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1017657
3216