diff --git a/src/lib/services/Utilities.ts b/src/lib/services/Utilities.ts index 18d0b193..dac3feac 100644 --- a/src/lib/services/Utilities.ts +++ b/src/lib/services/Utilities.ts @@ -370,8 +370,8 @@ class Utilities { */ removeForwardsAt( source: string, - position = source.length, - positionEnd = source.length, + position: number = source.length, + positionEnd: number = source.length, moveCaret = false ) { if (!source?.length || position === null) {