Skip to content

Commit

Permalink
Modified the mouseToggle method signature, since according to the doc…
Browse files Browse the repository at this point in the history
…umentation the button parameter should be string and not boolean.
  • Loading branch information
Anton Kaminsky committed Feb 20, 2017
1 parent dfd7e60 commit cfac5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function setMouseDelay(delay: number) : void
export function moveMouse(x: number, y: number) : void
export function moveMouseSmooth(x: number, y: number) : void
export function mouseClick(button?: string, double?: boolean) : void
export function mouseToggle(down?: string, button?: boolean) : void
export function mouseToggle(down?: string, button?: string) : void
export function dragMouse(x: number, y: number) : void
export function scrollMouse(magnitude: number, direction: string) : void
export function getMousePos(): { x: number, y: number }
Expand Down

0 comments on commit cfac5ab

Please sign in to comment.