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.