Skip to content

Commit f8ecdff

Browse files
authored
fix: typo in input.ts (#1653)
1 parent bebce8f commit f8ecdff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class Keyboard {
153153
async _ensureModifiers(modifiers: Modifier[]): Promise<Modifier[]> {
154154
for (const modifier of modifiers) {
155155
if (!kModifiers.includes(modifier))
156-
throw new Error('Uknown modifier ' + modifier);
156+
throw new Error('Unknown modifier ' + modifier);
157157
}
158158
const restore: Modifier[] = Array.from(this._pressedModifiers);
159159
const promises: Promise<void>[] = [];

0 commit comments

Comments
 (0)