aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/typescript-utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-16 11:56:58 +0100
committerChocobozzz <me@florianbigard.com>2023-02-16 11:56:58 +0100
commite65ef81cf51746616182a822bd6933bf0d16717a (patch)
treeff9e715b50eb690b8fbb5263cf1371d9f8103ff1 /shared/typescript-utils
parent5bfe684e76d32a7745671635f8a75f932bd522e4 (diff)
downloadPeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.gz
PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.tar.zst
PeerTube-e65ef81cf51746616182a822bd6933bf0d16717a.zip
Update server dependencies
Diffstat (limited to 'shared/typescript-utils')
-rw-r--r--shared/typescript-utils/types.ts2
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
30type Primitive = string | Function | number | boolean | Symbol | undefined | null 30type Primitive = string | Function | number | boolean | symbol | undefined | null
31export type DeepOmitHelper<T, K extends keyof T> = { 31export 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