mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
chore(): fix Input types
This commit is contained in:
@ -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 };
|
||||
|
Reference in New Issue
Block a user