diff options
Diffstat (limited to 'shared/typescript-utils/types.ts')
-rw-r--r-- | shared/typescript-utils/types.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/typescript-utils/types.ts b/shared/typescript-utils/types.ts index bd2a97b98..57cc23f1f 100644 --- a/shared/typescript-utils/types.ts +++ b/shared/typescript-utils/types.ts | |||
@@ -27,7 +27,7 @@ export type DeepPartial<T> = { | |||
27 | : DeepPartial<T[P]> | 27 | : DeepPartial<T[P]> |
28 | } | 28 | } |
29 | 29 | ||
30 | type Primitive = string | Function | number | boolean | Symbol | undefined | null | 30 | type Primitive = string | Function | number | boolean | symbol | undefined | null |
31 | export type DeepOmitHelper<T, K extends keyof T> = { | 31 | export type DeepOmitHelper<T, K extends keyof T> = { |
32 | [P in K]: // extra level of indirection needed to trigger homomorhic behavior | 32 | [P in K]: // extra level of indirection needed to trigger homomorhic behavior |
33 | T[P] extends infer TP // distribute over unions | 33 | T[P] extends infer TP // distribute over unions |