Add type for WindowInfo

This commit is contained in:
Jordan Eldredge 2018-09-17 08:32:52 -07:00
parent 76d3a5b830
commit ba43cbcc74

View file

@ -391,6 +391,14 @@ export interface WebampWindow {
hotkey?: string;
}
export interface WindowInfo {
key: WindowId;
height: number;
width: number;
x: number;
y: number;
}
export interface WindowState {
focused: string;
genWindows: { [name: string]: WebampWindow };