From a3d0c79e1d6ccb2f88b475cbd9b38109ee8e7c6a Mon Sep 17 00:00:00 2001 From: Yegor Alexeyev Date: Sun, 15 Feb 2015 20:18:37 +0300 Subject: [PATCH] Changed order of method declarations for correct overloading --- 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 82dba5d4c1..bef33d99ce 100644 --- a/raphael/raphael.d.ts +++ b/raphael/raphael.d.ts @@ -28,9 +28,9 @@ interface RaphaelElement { animateWith(el: RaphaelElement, anim: RaphaelAnimation, params: any, ms: number, easing?: string, callback?: Function): RaphaelElement; animateWith(el: RaphaelElement, anim: RaphaelAnimation, animation: RaphaelAnimation): RaphaelElement; attr(attrName: string, value: any): RaphaelElement; - attr(params: any): RaphaelElement; attr(attrName: string): any; attr(attrNames: string[]): any[]; + attr(params: any): RaphaelElement; click(handler: Function): RaphaelElement; clone(): RaphaelElement; data(key: string): any;