improve module declarations

This commit is contained in:
falsandtru
2017-08-18 06:32:12 +09:00
parent 223a029626
commit 137a2e43cd
+2 -3
View File
@@ -3,9 +3,8 @@
// Definitions by: Dave Taylor <http://davetayls.me>, Samira Bazuzi <https://github.com/bazuzi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module 'dompurify' {
export = DOMPurify;
}
export = DOMPurify;
export as namespace DOMPurify;
declare var DOMPurify: DOMPurify;