Not a Package Manager

    @types/clamp
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    Installation

    npm install --save @types/clamp

    Summary

    This package contains type definitions for clamp (https://github.com/hughsk/clamp).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/clamp.

    index.d.ts

    // Type definitions for clamp 1.0
    // Project: https://github.com/hughsk/clamp
    // Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    declare function clamp(value: number, min: number, max: number): number;
    
    export = clamp;

    Additional Details

    • Last updated: Thu, 23 Dec 2021 23:34:24 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by DefinitelyTyped.

    Keywords

    none

    Install

    npm i @types/clamp

    DownloadsWeekly Downloads

    2,737

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • types