aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-11-22 16:35:42 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-11-22 16:40:04 +0100
commit862cb00e40aa6f094aff019a44f52ebfca90ab88 (patch)
tree3c32b6ca6612d07d3d1fcfc5620c86ba9c774b3b /subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts
parentrefactor(language): simplify syntax (diff)
downloadrefinery-862cb00e40aa6f094aff019a44f52ebfca90ab88.tar.gz
refinery-862cb00e40aa6f094aff019a44f52ebfca90ab88.tar.zst
refinery-862cb00e40aa6f094aff019a44f52ebfca90ab88.zip
fix(frontend): mobx 6.7.0 typing
Also bumps some dependencies and updates tsconfig.json The added workarounds should be remove once https://github.com/mobxjs/mobx/issues/3582 is resolved.
Diffstat (limited to 'subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts')
-rw-r--r--subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts b/subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts
index 96be0eea..d5ad536b 100644
--- a/subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts
+++ b/subprojects/frontend/src/editor/indentationMarkerViewPlugin.ts
@@ -91,7 +91,7 @@ function getNumIndentMarkersForNonEmptyLine(
91) { 91) {
92 let numIndents = 0; 92 let numIndents = 0;
93 let numConsecutiveSpaces = 0; 93 let numConsecutiveSpaces = 0;
94 let prevChar: string | null = null; 94 let prevChar: string | undefined;
95 95
96 for (let char = 0; char < text.length; char += 1) { 96 for (let char = 0; char < text.length; char += 1) {
97 // Bail if we encounter a non-whitespace character 97 // Bail if we encounter a non-whitespace character