From 6dbb5ecf755b62835e22e63f2b5374453525a537 Mon Sep 17 00:00:00 2001 From: Zhang Yi Jiang Date: Thu, 14 Feb 2019 13:27:57 +0800 Subject: [PATCH] Add global namespace export --- types/no-scroll/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) 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;