diff --git a/types/no-scroll/index.d.ts b/types/no-scroll/index.d.ts index 9a7dcaec58..b20b596a27 100644 --- a/types/no-scroll/index.d.ts +++ b/types/no-scroll/index.d.ts @@ -3,6 +3,9 @@ // Definitions by: Zhang Yi Jiang // 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;