Skip to content

Commit 9332599

Browse files
committed
tweaks for updated typescript compiler errors
1 parent 708af5a commit 9332599

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/dicekeys/ConstructRecipe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const addOrAppendFieldToJsonObjectString =
99
const targetKey = `[${JSON.stringify(fieldName)}]`
1010
if (originalJsonObjectString != null) {
1111
// Trying modifying the original JSON string
12-
var wasJsonModifiedInPlace: boolean = false;
12+
let wasJsonModifiedInPlace: boolean = false;
1313
const jsonWithFieldReplaced = modifyJson(originalJsonObjectString, ({key, replaceValueWithNewValue: replaceWithNewValue, replaceValueWithNewJsonEncodedValue, remove}) => {
1414
if (key == targetKey) {
1515
wasJsonModifiedInPlace = true;

web/src/utilities/event.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ export class CustomEvent<ARGS extends unknown[] = [], TARGET_TYPE = unknown> {
7474
}
7575

7676

77-
};
77+
}

0 commit comments

Comments
 (0)