npm.io
3.0.3 • Published 2 years ago

@types/get-res

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

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

Credits

These definitions were written by Satya Rohith.