mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
466 B
TypeScript
17 lines
466 B
TypeScript
// Type definitions for no-scroll 2.1
|
|
// Project: https://github.com/davidtheclark/no-scroll
|
|
// 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;
|
|
toggle(): void;
|
|
}
|
|
|
|
declare const noScroll: NoScroll;
|
|
export = noScroll;
|