Merge pull request #12864 from BradyLiles/types-2.0

Added module on randomcolor.
This commit is contained in:
Paul van Brenk
2016-11-29 11:26:52 -08:00
committed by GitHub
+6 -2
View File
@@ -1,6 +1,6 @@
// Type definitions for randomColor 0.4.1
// Project: https://github.com/davidmerfield/randomColor
// Definitions by: Mathias Feitzinger <https://github.com/feitzi>
// Definitions by: Mathias Feitzinger <https://github.com/feitzi> & Brady Liles <https://github.com/BradyLiles>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function randomColor(options?: RandomColorOptions): string;
@@ -11,4 +11,8 @@ interface RandomColorOptions {
count?: number;
seed?: number | string;
format?: "hsvArray" | "hslArray" | "hsl" | "hsla" | "rgbArray" | "rgb" | "rgba" | "hex";
}
}
declare module "randomcolor" {
export = randomColor;
}