Diff. from any other event handler in "lib.d.ts", the 4 TouchEvent callbacks are merely declared as any:
declare var ontouchcancel: any;
declare var ontouchend: any;
declare var ontouchmove: any;
declare var ontouchstart: any;
They should be declared this way instead:
declare var ontouchcancel: (ev: TouchEvent) => any;
declare var ontouchend: (ev: TouchEvent) => any;
declare var ontouchmove: (ev: TouchEvent) => any;
declare var ontouchstart: (ev: TouchEvent) => any;
Diff. from any other event handler in "lib.d.ts", the 4 TouchEvent callbacks are merely declared as
any:They should be declared this way instead: