From c9dbef81a367eff0fc9ddf513bf5645ac209bd05 Mon Sep 17 00:00:00 2001 From: vvakame Date: Sun, 19 Jul 2015 16:37:33 +0900 Subject: [PATCH] remove touch-events/touch-events.d.ts. it included in lib.d.ts (typescript-1.5.3) --- touch-events/touch-events.d.ts | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/touch-events/touch-events.d.ts b/touch-events/touch-events.d.ts index dcb4dec7d6..b99a0441c4 100644 --- a/touch-events/touch-events.d.ts +++ b/touch-events/touch-events.d.ts @@ -3,29 +3,4 @@ // Definitions by: Kevin Barabash // 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