Skip to content

Commit eb16cc1

Browse files
committed
Version increased to 1.6.1
1 parent 2a7c8d4 commit eb16cc1

File tree

4 files changed

+7967
-6
lines changed

4 files changed

+7967
-6
lines changed

b+tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ var BTree = /** @class */ (function () {
981981
return typeof r === "number" ? r : r.break;
982982
}
983983
finally {
984-
var isShared = undefined;
984+
var isShared = void 0;
985985
while (root.keys.length <= 1 && !root.isLeaf) {
986986
isShared || (isShared = root.isShared);
987987
this._root = root = root.keys.length === 0 ? EmptyLeaf :

b+tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ export default class BTree<K=any, V=any> implements ISortedMapF<K,V>, ISortedMap
10941094
var r = root.forRange(low, high, includeHigh, true, this, initialCounter || 0, onFound);
10951095
return typeof r === "number" ? r : r.break!;
10961096
} finally {
1097-
let isShared: undefined | true = undefined;
1097+
let isShared;
10981098
while (root.keys.length <= 1 && !root.isLeaf) {
10991099
isShared ||= root.isShared;
11001100
this._root = root = root.keys.length === 0 ? EmptyLeaf :

0 commit comments

Comments
 (0)