From 848e86d54dc1b06977a39b8dd9b6db6ebd32360d Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Sun, 16 May 2021 22:51:21 -0700 Subject: [PATCH] Add removeForwardsAt param types --- src/lib/services/Utilities.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {