From 47b04c598595640bffdd56d13148d11946514c49 Mon Sep 17 00:00:00 2001 From: Jan Zarnikov Date: Thu, 5 Dec 2013 12:14:18 +0100 Subject: [PATCH] raphael - made types of dom-elements more specific --- raphael/raphael.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/raphael/raphael.d.ts b/raphael/raphael.d.ts index e201a1d1b..2b9dc0858 100644 --- a/raphael/raphael.d.ts +++ b/raphael/raphael.d.ts @@ -53,7 +53,7 @@ interface RaphaelElement { mouseover(handler: Function): RaphaelElement; mouseup(handler: Function): RaphaelElement; next: RaphaelElement; - node: Element; + node: SVGElement; onDragOver(f: Function): RaphaelElement; paper: RaphaelPaper; pause(anim?: RaphaelAnimation): RaphaelElement; @@ -195,10 +195,10 @@ interface RaphaelMatrix { interface RaphaelPaper { add(JSON): RaphaelSet; bottom: RaphaelElement; - canvas: Element; + canvas: SVGSVGElement; circle(x: number, y: number, r: number): RaphaelElement; clear(); - defs: Element; + defs: SVGDefsElement; ellipse(x: number, y: number, rx: number, ry: number): RaphaelElement; forEach(callback: number, thisArg: any): RaphaelStatic; getById(id: number): RaphaelElement;