Merge pull request #1378 from jzarnikov/master

raphael - made types of dom-elements more specific
This commit is contained in:
Masahiro Wakame
2013-12-05 03:56:55 -08:00
2 changed files with 14 additions and 12 deletions
+3 -3
View File
@@ -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;