hyper/lib/hyper.d.ts
Labhansh Agrawal 187897a1f0 Add hyper types
2019-10-13 03:39:33 +02:00

22 lines
440 B
TypeScript

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;
};