Skip to content

Commit

Permalink
chore: remove inferrable type
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantanrk committed May 29, 2024
1 parent 5aaddc1 commit d6578b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface KeyEvent {
which: number;
}

export function getKey(key: KeyType, shiftKey: boolean = false) {
export function getKey(key: KeyType, shiftKey = false) {
let event: KeyEvent = null as unknown as KeyEvent;
switch (key) {
case KeyType.Backspace:
Expand Down

0 comments on commit d6578b4

Please sign in to comment.