From 7ff34d029c6f9214b975ea06edff8872e7402a24 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 10 Mar 2020 14:44:31 -0700 Subject: [PATCH] Remove ambient module declaration in 'randomColor'. (#43033) --- types/randomcolor/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;