mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
BigIntOrderedMap: remove lodash dependency
This commit is contained in:
parent
ec7c456b19
commit
eb8d9b3f60
@ -1,4 +1,3 @@
|
||||
import _ from 'lodash';
|
||||
import { immerable } from 'immer';
|
||||
import bigInt, { BigInteger } from "big-integer";
|
||||
|
||||
@ -17,7 +16,7 @@ export default class BigIntOrderedMap<V> implements Iterable<[BigInteger, V]> {
|
||||
[immerable] = true;
|
||||
|
||||
constructor(items: [BigInteger, V][] = []) {
|
||||
_.forEach(items, ([key, val]) => {
|
||||
items.forEach(([key, val]) => {
|
||||
this.set(key, val);
|
||||
});
|
||||
this.generateCachedIter();
|
||||
|
Loading…
Reference in New Issue
Block a user