/** * Backwards compatibility alias of the `Struct` type. * * @deprecated in favor of {@link Struct} */ export type JSObject = Struct; /** * Utility type that represents any kind of structured object. */ export type Struct = Record; /** * Mapped type which transforms an structured object `` to entries., i.e. a * key-value tuples. * * @param T an structured object which extends {@link Struct} */ export type Entry = { [K in keyof T]: [K, T[K]]; }[keyof T];