diff --git a/randomcolor/index.d.ts b/randomcolor/index.d.ts index 1886e38a09..28bfa0ac05 100644 --- a/randomcolor/index.d.ts +++ b/randomcolor/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for randomColor 0.4.1 // Project: https://github.com/davidmerfield/randomColor -// Definitions by: Mathias Feitzinger +// Definitions by: Mathias Feitzinger & Brady Liles // 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"; -} \ No newline at end of file +} + +declare module "randomcolor" { + export = randomColor; +}