Skip to content

Commit

Permalink
fix: missing type for setPosition (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
kr4b committed Aug 26, 2022
1 parent 6a3b1a9 commit 3a2e495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export interface Joystick {
add(): void;
remove(): void;
destroy(): void;
setPosition(cb: (joystick: Joystick) => void, position: Position): void;
identifier: number;
trigger(
type: JoystickEventTypes | JoystickEventTypes[],
Expand Down

0 comments on commit 3a2e495

Please sign in to comment.