npm install --save @types/xrandr
This package contains type definitions for xrandr (https://github.com/carlipa/node-xrandr#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xrandr.
export interface Interface {
connected: boolean;
modes: Mode[];
rotation: "normal" | "left" | "right" | "inverted";
position: {
x: number;
y: number;
};
}
export interface Mode {
width: number;
height: number;
rate: number;
native?: boolean;
current?: boolean;
interlaced?: boolean;
}
export type XrandrResult = Record<string, Interface>;
export function parser(input: string): XrandrResult;
- Last updated: Thu, 28 Mar 2024 19:06:35 GMT
- Dependencies: none
These definitions were written by Javier Infante.