aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/typings/utils.ts
blob: a86b05be2d1bf273e2bca51377809aab9c8552b8 (plain) (tree)
1
2
3


                                                                                                     
export type FunctionPropertyNames<T> = { [K in keyof T]: T[K] extends Function ? K : never }[keyof T]

export type FunctionProperties<T> = Pick<T, FunctionPropertyNames<T>>