chore(): fix Input types

This commit is contained in:
Tim Lancina
2016-01-13 23:52:10 -06:00
parent 7f19ba5396
commit c475a6490b
5 changed files with 22 additions and 18 deletions

View File

@ -155,7 +155,7 @@ export function windowLoad(callback) {
return promise;
}
export function pointerCoord(ev) {
export function pointerCoord(ev): {x: number, y: number} {
// get coordinates for either a mouse click
// or a touch depending on the given event
let c = { x: 0, y: 0 };