Changed order of method declarations for correct overloading

This commit is contained in:
Yegor Alexeyev
2015-02-15 20:18:37 +03:00
parent 7d298be1db
commit a3d0c79e1d

View File

@@ -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;