From 137a2e43cd27183143edb2b67845ecec8a6b1b2b Mon Sep 17 00:00:00 2001 From: falsandtru Date: Fri, 18 Aug 2017 05:36:58 +0900 Subject: [PATCH] improve module declarations --- types/dompurify/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/types/dompurify/index.d.ts b/types/dompurify/index.d.ts index 8559f53a80..a2b186a164 100644 --- a/types/dompurify/index.d.ts +++ b/types/dompurify/index.d.ts @@ -3,9 +3,8 @@ // Definitions by: Dave Taylor , Samira Bazuzi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module 'dompurify' { - export = DOMPurify; -} +export = DOMPurify; +export as namespace DOMPurify; declare var DOMPurify: DOMPurify;