From 1a2fced0c6367a8e3d4021be48ab1a291e89b6d2 Mon Sep 17 00:00:00 2001 From: Andrew Davey Date: Mon, 1 Jul 2013 10:12:54 +0100 Subject: [PATCH] Re-add getColor.reset() This is compatible with TypeScript 0.9. --- raphael/raphael.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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;