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

3.0.3 • Public • Published

Installation

npm install --save @types/get-res

Summary

This package contains type definitions for get-res (https://github.com/kevva/get-res#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-res.

index.d.ts

export = getRes;

interface Resolution {
    item: string;
    percent: string;
}

/**
 * Get ten most popular screen resolutions
 *
 * @returns An array with the details of ten most popular screen resolutions
 */
declare function getRes(): Promise<Resolution[]>;

Additional Details

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

Credits

These definitions were written by Satya Rohith.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/get-res

Weekly Downloads

9

Version

3.0.3

License

MIT

Unpacked Size

3.06 kB

Total Files

5

Last publish

Collaborators

  • types