We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad3f1e commit 8f8d26aCopy full SHA for 8f8d26a
src/tools/input.ts
@@ -288,7 +288,7 @@ export const pressKey = defineTool({
288
},
289
handler: async (request, response, context) => {
290
const page = context.getSelectedPage();
291
- const tokens = parseKey(request.params.key) as KeyInput[];
+ const tokens = parseKey(request.params.key);
292
const [key, ...modifiers] = tokens;
293
294
await context.waitForEventsAfterAction(async () => {
0 commit comments