npm.io
2.1.2 • Published 2 years ago

@types/no-scroll

Licence
MIT
Version
2.1.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

// 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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Zhang Yi Jiang.