From 341d0c519ef26cc3dbcca7a49ebbe96b8a84ecb1 Mon Sep 17 00:00:00 2001 From: enternet Date: Tue, 8 Apr 2014 14:04:43 +0300 Subject: [PATCH] RaphaelPaper.forEach() RaphaelPaper.forEach() declaration has been fixed. --- 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 887ab51cd2..a63c987da4 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: number, thisArg: any): RaphaelStatic; + forEach(callback: (el: RaphaelElement) => boolean, thisArg?: any): RaphaelStatic; getById(id: number): RaphaelElement; getElementByPoint(x: number, y: number): RaphaelElement; getElementsByPoint(x: number, y: number): RaphaelSet;