Add removeForwardsAt param types

This commit is contained in:
Francisco Hodge 2021-05-16 22:51:21 -07:00
parent f3dc6a2d81
commit 848e86d54d

View File

@ -370,8 +370,8 @@ class Utilities {
*/ */
removeForwardsAt( removeForwardsAt(
source: string, source: string,
position = source.length, position: number = source.length,
positionEnd = source.length, positionEnd: number = source.length,
moveCaret = false moveCaret = false
) { ) {
if (!source?.length || position === null) { if (!source?.length || position === null) {