From b26a3d7ce57bf5a20be04a4515e6194c543cc9f5 Mon Sep 17 00:00:00 2001 From: kashlakov Date: Mon, 26 Oct 2015 11:10:34 +0900 Subject: [PATCH] Update raphael.d.ts add required parameter 'el: RaphaelElement' to RaphaelSet.insertBefore() and RaphaelSet.insertAfter() --- raphael/raphael.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raphael/raphael.d.ts b/raphael/raphael.d.ts index 382082799..4d174fa71 100644 --- a/raphael/raphael.d.ts +++ b/raphael/raphael.d.ts @@ -129,8 +129,8 @@ interface RaphaelSet { hide(): RaphaelSet; hover(f_in: Function, f_out: Function, icontext?: any, ocontext?: any): RaphaelSet; id: string; - insertAfter(): RaphaelSet; - insertBefore(): RaphaelSet; + insertAfter(el: RaphaelElement): RaphaelSet; + insertBefore(el: RaphaelElement): RaphaelSet; isPointInside(x: number, y: number): boolean; isVisible(): boolean; matrix: RaphaelMatrix;