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 15ece2d commit 9c9b63aCopy full SHA for 9c9b63a
packages/tailwindcss-language-service/src/types.ts
@@ -1,8 +1,8 @@
1
export type DeepPartial<T> = {
2
- [P in keyof T]?: T[P] extends (infer U)[]
3
- ? U[]
4
- : T[P] extends (...args: any) => any
5
- ? T[P] | undefined
+ [P in keyof T]?: T[P] extends ((...args: any) => any) | ReadonlyArray<any> | Date
+ ? T[P]
+ : T[P] extends (infer U)[]
+ ? U[]
6
: T[P] extends object
7
? DeepPartial<T[P]>
8
: T[P]
0 commit comments