mashafrancis/butternut-user

View on GitHub
src/app/_helpers/database/deep-partial.ts

Summary

Maintainability
A
0 mins
Test Coverage
export type DeepPartial<T> = {
    [P in keyof T]?: DeepPartial<T[P]>;
};

// export type DeepPartial<T> = T extends object
//     ? { [K in keyof T]?: DeepPartial<T[K]> }
//     : T;