correct typing
This commit is contained in:
@@ -37,7 +37,7 @@ test("Dictionary don't mutate, when used 'save', while iterating", () => {
|
||||
]);
|
||||
|
||||
let sum = 0;
|
||||
forEntry(dict, (value, __, index) => {
|
||||
forEntry(dict, (value, _, index) => {
|
||||
if (index < 1) {
|
||||
setEntrySave(dict, "d", 4);
|
||||
setEntrySave(dict, "e", 5);
|
||||
@@ -50,7 +50,7 @@ test("Dictionary don't mutate, when used 'save', while iterating", () => {
|
||||
expect(dict.indices.size === 5).toEqual(dict.entries.length === 5);
|
||||
|
||||
sum = 0;
|
||||
forEntry(dict, (value, __, index) => {
|
||||
forEntry(dict, (value, _, index) => {
|
||||
if (index < 1) {
|
||||
deleteEntrySave(dict, "d");
|
||||
deleteEntrySave(dict, "e");
|
||||
|
||||
Reference in New Issue
Block a user