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

2.0.3 • Public • Published

Installation

npm install --save @types/gray-percentage

Summary

This package contains type definitions for gray-percentage (https://github.com/KyleAMathews/gray-percentage).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gray-percentage.

index.d.ts

export = grayPercentage;

declare function grayPercentage(
    lightness: number,
    hue?: number | "cool" | "slate" | "warm",
    darkBackground?: boolean,
): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Luis Rodrigues.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gray-percentage

Weekly Downloads

39

Version

2.0.3

License

MIT

Unpacked Size

2.94 kB

Total Files

5

Last publish

Collaborators

  • types