/** * Creates an object with variable fields accessed by a * string key. * * @export * @interface LooseObject * @template T * Ref: https://stackoverflow.com/a/44441178/9931154 */ export interface LooseObject { [key: string]: T; } /** * User defined constraints for a specific class. * * @export * @interface ClassLimits */ export interface ClassLimits { professors: ClassAttributes['professor'][]; rooms: ClassAttributes['room'][]; times: ClassAttributes['time'][]; } export interface ClassAttributes { professor: string; room: string; time: string; } export declare type Assignments = LooseObject; export declare type Result = LooseObject | undefined;