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