We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b32e909 commit 0c9f2c2Copy full SHA for 0c9f2c2
src/utils/typeHelpers/partialDeep.ts
@@ -10,7 +10,9 @@
10
* Brought the simplified idea from https://github.com/sindresorhus/type-fest/blob/main/source/partial-deep.d.ts
11
* */
12
export type PartialDeep<T> = T extends object
13
- ? T extends (...args: any[]) => any
+ ? T extends Set<unknown>
14
+ ? T
15
+ : T extends (...args: any[]) => any
16
? T
17
: {
18
[P in keyof T]?: PartialDeep<T[P]>;
0 commit comments