/** * ... then taken from * https://github.com/Noah2610/sync-tracker/blob/develop/lib/util/recursive-partial.ts */ /** * Taken from Tone.js, which itself was taken from here: * https://stackoverflow.com/a/51365037 */ type RecursivePartial = { [P in keyof T]?: T[P] extends Array ? Array> : T[P] extends object ? RecursivePartial : T[P]; }; export default RecursivePartial;