Add global namespace export

This commit is contained in:
Zhang Yi Jiang
2019-02-14 13:27:57 +08:00
parent 2c708fc0a3
commit 6dbb5ecf75
+3
View File
@@ -3,6 +3,9 @@
// Definitions by: Zhang Yi Jiang <https://github.com/ZhangYiJiang>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Module is exported as global object outside of module loader environment
export as namespace noScroll;
interface NoScroll {
off(): void;
on(): void;