mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Type toFormattedJSON
This commit is contained in:
parent
0283eaac2a
commit
1ca9f7c3f7
54 changed files with 401 additions and 147 deletions
|
@ -4,8 +4,6 @@ export type FunctionPropertyNames<T> = {
|
|||
|
||||
export type FunctionProperties<T> = Pick<T, FunctionPropertyNames<T>>
|
||||
|
||||
export type ValueOf <T, KT extends keyof T> = T[KT]
|
||||
|
||||
export type PickWith<T, KT extends keyof T, V> = {
|
||||
[P in KT]: T[P] extends V ? V : never
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue