1.0.3 • Published 7 months ago

@types/clamp v1.0.3

Weekly downloads
4,405
License
MIT
Repository
github
Last release
7 months ago

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.