improve module declarations

This commit is contained in:
falsandtru
2017-08-18 05:36:58 +09:00
parent 223a029626
commit 137a2e43cd

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;