hyper/lib/hyper.d.ts

23 lines
440 B
TypeScript
Raw Normal View History

2019-10-12 07:29:25 -08:00
declare global {
interface Window {
__rpcId: string;
}
}
export type ITermGroup = {
uid: string | null;
sessionUid: string | null;
parentUid: string | null;
direction: string | null;
sizes: number[] | null;
children: string[];
};
export type ITermGroups = Record<string, ITermGroup>;
export type ITermState = {
termGroups: ITermGroups;
activeSessions: Record<string, string>;
activeRootGroup: string | null;
};