X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Ftypescript-utils%2Ftypes.ts;h=57cc23f1fd622716ae62997db1e4dcd8eef832e1;hb=a78b1e527bd89e9ae303ab7f33f9beea4d9fd0fa;hp=bd2a97b98bfad55aa393b2f1f0100d5d47015d0d;hpb=3318147300b4f998adf728eb0a5a14a4c1829c51;p=github%2FChocobozzz%2FPeerTube.git 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 = { : DeepPartial } -type Primitive = string | Function | number | boolean | Symbol | undefined | null +type Primitive = string | Function | number | boolean | symbol | undefined | null export type DeepOmitHelper = { [P in K]: // extra level of indirection needed to trigger homomorhic behavior T[P] extends infer TP // distribute over unions