mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Fix [key: any] issue in raphael-2.1.d.ts
This is similar to old jquery definition issue mentioned in http://stackoverflow.com/questions/13630578/why-does-the-jquery-d-ts-typescript-definition-file-throw-a-compile-error We should update Raphael definition as well.
This commit is contained in:
parent
27b81b54c7
commit
040d43ad88
8
raphael/raphael-2.1.d.ts
vendored
8
raphael/raphael-2.1.d.ts
vendored
@ -23,12 +23,12 @@ interface RaphaelFont {
|
||||
}
|
||||
|
||||
interface RaphaelElement {
|
||||
animate(params: { [key: any]: any; }, ms: number, easing?: string, callback?: Function): RaphaelElement;
|
||||
animate(params: { [key: string]: any; }, ms: number, easing?: string, callback?: Function): RaphaelElement;
|
||||
animate(animation: RaphaelAnimation): 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: { [key: any]: any; }): RaphaelElement;
|
||||
attr(params: { [key: string]: any; }): RaphaelElement;
|
||||
attr(attrName: string): any;
|
||||
attr(attrNames: string[]): any[];
|
||||
click(handler: Function): RaphaelElement;
|
||||
@ -110,12 +110,12 @@ interface RraphaelSet {
|
||||
length: number;
|
||||
|
||||
[key: number]: RaphaelElement;
|
||||
animate(params: { [key: any]: any; }, ms: number, easing?: string, callback?: Function): RaphaelElement;
|
||||
animate(params: { [key: string]: any; }, ms: number, easing?: string, callback?: Function): RaphaelElement;
|
||||
animate(animation: RaphaelAnimation): 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: { [key: any]: any; }): RaphaelElement;
|
||||
attr(params: { [key: string]: any; }): RaphaelElement;
|
||||
attr(attrName: string): any;
|
||||
attr(attrNames: string[]): any[];
|
||||
click(handler: Function): RaphaelElement;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user