mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-20 01:22:59 +08:00
Add removeForwardsAt param types
This commit is contained in:
parent
f3dc6a2d81
commit
848e86d54d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user