X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Ftypescript-utils%2Ftypes.ts;h=57cc23f1fd622716ae62997db1e4dcd8eef832e1;hb=b9393464a88899530b5d87e512eee814ca3ca8d8;hp=bd2a97b98bfad55aa393b2f1f0100d5d47015d0d;hpb=c3edc5b074aa4bb1861ed0a94d3713808e87170f;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