Skip to content

Commit 8f8d26a

Browse files
committed
fix: remove cast
1 parent 9ad3f1e commit 8f8d26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/input.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export const pressKey = defineTool({
288288
},
289289
handler: async (request, response, context) => {
290290
const page = context.getSelectedPage();
291-
const tokens = parseKey(request.params.key) as KeyInput[];
291+
const tokens = parseKey(request.params.key);
292292
const [key, ...modifiers] = tokens;
293293

294294
await context.waitForEventsAfterAction(async () => {

0 commit comments

Comments
 (0)