diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-16 11:56:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-16 11:56:58 +0100 |
commit | e65ef81cf51746616182a822bd6933bf0d16717a (patch) | |
tree | ff9e715b50eb690b8fbb5263cf1371d9f8103ff1 /shared/typescript-utils/types.ts | |
parent | 5bfe684e76d32a7745671635f8a75f932bd522e4 (diff) | |
download | PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.gz PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.zst PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.zip |
Update server dependencies
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 |