/** * https://github.com/Noah2610/i3-color-theme-editor/blob/master/src/util/recursivePartial.ts */ export type RecursivePartial = { [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial[] : T[P] extends object ? RecursivePartial : T[P]; };