MethodsOf: { [K in keyof T as T[K] extends Function ? K : never]: T[K] }

get all methods of a class-instance

Type Parameters

  • T