Re-add getColor.reset()

This is compatible with TypeScript 0.9.
This commit is contained in:
Andrew Davey
2013-07-01 10:12:54 +01:00
parent ed3d8ec0dd
commit 1a2fced0c6
+5 -2
View File
@@ -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;
declare var Raphael: RaphaelStatic;