diff --git a/raphael/raphael.d.ts b/raphael/raphael.d.ts index fc8503cd3..26a183d2d 100644 --- a/raphael/raphael.d.ts +++ b/raphael/raphael.d.ts @@ -244,7 +244,10 @@ interface RaphaelStatic { fn: any; format(token: string, ...parameters: any[]): string; fullfill(token: string, json: JSON): string; - getColor(value?: number): string; + getColor { + (value?: number): string; + reset(); + }; getPointAtLength(path: string, length: number): { x: number; y: number; alpha: number; }; getRGB(colour: string): { r: number; g: number; b: number; hex: string; error: bool; }; getSubpath(path: string, from: number, to: number): string; @@ -287,4 +290,4 @@ interface RaphaelStatic { vml: bool; } -declare var Raphael: RaphaelStatic; \ No newline at end of file +declare var Raphael: RaphaelStatic;