From 37e590111b1505858c1ecc2f184381e7f22c84ce Mon Sep 17 00:00:00 2001 From: enternet Date: Wed, 9 Apr 2014 17:31:48 +0300 Subject: [PATCH] RaphaelPaper.forEach() returns RaphaelPaper RaphaelPaper.forEach() returns RaphaelPaper at runtime. --- raphael/raphael.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raphael/raphael.d.ts b/raphael/raphael.d.ts index a63c987da..fc0b26292 100644 --- a/raphael/raphael.d.ts +++ b/raphael/raphael.d.ts @@ -200,7 +200,7 @@ interface RaphaelPaper { clear(): void; defs: SVGDefsElement; ellipse(x: number, y: number, rx: number, ry: number): RaphaelElement; - forEach(callback: (el: RaphaelElement) => boolean, thisArg?: any): RaphaelStatic; + forEach(callback: (el: RaphaelElement) => boolean, thisArg?: any): RaphaelPaper; getById(id: number): RaphaelElement; getElementByPoint(x: number, y: number): RaphaelElement; getElementsByPoint(x: number, y: number): RaphaelSet;