mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
512 B
TypeScript
20 lines
512 B
TypeScript
// Type definitions for get-res 3.0
|
|
// Project: https://github.com/kevva/get-res#readme
|
|
// Definitions by: Satya Rohith <https://github.com/satyarohith>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
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[]>;
|