modify index.d.ts

This commit is contained in:
kimcoder 2019-01-24 07:35:23 +09:00
parent 052b722ac1
commit f3f834a896

View File

@ -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 <https://github.com/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;