diff --git a/src/scripts/choices.ts b/src/scripts/choices.ts index 039ccd1..c91013d 100644 --- a/src/scripts/choices.ts +++ b/src/scripts/choices.ts @@ -1449,7 +1449,10 @@ class Choices { } } - _onKeyUp({ target, keyCode }: Partial): void { + _onKeyUp({ + target, + keyCode, + }: Pick): void { const { value } = this.input; const { activeItems } = this._store; const canAddItem = this._canAddItem(activeItems, value);