From a8f4ecb93648cc121ea388fb0c0327c0ca14c3cd Mon Sep 17 00:00:00 2001 From: kashlakov Date: Mon, 26 Oct 2015 11:07:45 +0900 Subject: [PATCH] Update raphael.d.ts add required parameter 'el: RaphaelElement' to insertAfter() and insertBefore() methods --- 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 593d5eb61e..3820827997 100644 --- a/raphael/raphael.d.ts +++ b/raphael/raphael.d.ts @@ -42,8 +42,8 @@ interface RaphaelElement { hide(): RaphaelElement; hover(f_in: Function, f_out: Function, icontext?: any, ocontext?: any): RaphaelElement; id: string; - insertAfter(): RaphaelElement; - insertBefore(): RaphaelElement; + insertAfter(el: RaphaelElement): RaphaelElement; + insertBefore(el: RaphaelElement): RaphaelElement; isPointInside(x: number, y: number): boolean; isVisible(): boolean; matrix: RaphaelMatrix;