UNPKG

@types/no-scroll

Version:
31 lines (23 loc) 846 B
# Installation > `npm install --save @types/no-scroll` # Summary This package contains type definitions for no-scroll (https://github.com/davidtheclark/no-scroll). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/no-scroll. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/no-scroll/index.d.ts) ````ts // 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; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:39 GMT * Dependencies: none # Credits These definitions were written by [Zhang Yi Jiang](https://github.com/ZhangYiJiang).