aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings/utils.ts')
-rw-r--r--server/typings/utils.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/typings/utils.ts b/server/typings/utils.ts
index ed0fca3d1..4b5cf4d7e 100644
--- a/server/typings/utils.ts
+++ b/server/typings/utils.ts
@@ -4,8 +4,6 @@ export type FunctionPropertyNames<T> = {
4 4
5export type FunctionProperties<T> = Pick<T, FunctionPropertyNames<T>> 5export type FunctionProperties<T> = Pick<T, FunctionPropertyNames<T>>
6 6
7export type ValueOf <T, KT extends keyof T> = T[KT]
8
9export type PickWith<T, KT extends keyof T, V> = { 7export type PickWith<T, KT extends keyof T, V> = {
10 [P in KT]: T[P] extends V ? V : never 8 [P in KT]: T[P] extends V ? V : never
11} 9}