mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #727 from andrewdavey/patch-2
Re-add getColor.reset()
This commit is contained in:
commit
f4c55d9536
1 file changed
+5
-2
Vendored
+5
-2
@@ -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;
|
||||
Reference in new issue
Block a user