From f3f834a896ff4dc5bd7a18ff24b99cd3dfa0cafd Mon Sep 17 00:00:00 2001 From: kimcoder Date: Thu, 24 Jan 2019 07:35:23 +0900 Subject: [PATCH] modify index.d.ts --- types/body-scroll-lock/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/body-scroll-lock/index.d.ts b/types/body-scroll-lock/index.d.ts index f771e2969a..1c3789d62d 100644 --- a/types/body-scroll-lock/index.d.ts +++ b/types/body-scroll-lock/index.d.ts @@ -1,5 +1,4 @@ -// Type definitions for body-scroll-lock 2.6 -// Project: https://github.com/willmcpo/body-scroll-lock (Does not have to be to GitHub, but prefer linking to a source code repository rather than to a project website.) +// Project: https://github.com/willmcpo/body-scroll-lock // Definitions by: kimcoder // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -11,3 +10,5 @@ export interface BodyScrollOptions { export function disableBodyScroll(targetElement: HTMLElement, options?: BodyScrollOptions): void; export function enableBodyScroll(targetElement: HTMLElement): void; export function clearAllBodyScrollLocks(): void; + +export as namespace bodyScrollLock;