diff --git a/types/randomcolor/index.d.ts b/types/randomcolor/index.d.ts index b55d44a1de..1eac1ed758 100644 --- a/types/randomcolor/index.d.ts +++ b/types/randomcolor/index.d.ts @@ -18,6 +18,5 @@ interface RandomColorOptionsMultiple extends RandomColorOptionsSingle { count: number; } -declare module "randomcolor" { - export = randomColor; -} +export = randomColor; +export as namespace randomColor;