remove touch-events/touch-events.d.ts. it included in lib.d.ts (typescript-1.5.3)

This commit is contained in:
vvakame
2015-07-19 16:37:33 +09:00
parent e411dbadd8
commit c9dbef81a3

View File

@@ -3,29 +3,4 @@
// Definitions by: Kevin Barabash <https://github.com/kevinb7>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface TouchEvent extends UIEvent {
touches: TouchList;
targetTouches: TouchList;
changedTouches: TouchList;
altKey: boolean;
metaKey: boolean;
ctrlKey: boolean;
shiftKey: boolean;
}
interface TouchList {
length: number;
item: (index: number) => Touch;
[index: number]: Touch;
}
interface Touch {
identifier: number;
target: EventTarget;
screenX: number;
screenY: number;
clientX: number;
clientY: number;
pageX: number;
pageY: number;
}
// DEPRECATED: use TypeScript 1.5.3