Type Alias MethodsObject<O>

MethodsObject<O>: {
    [k in keyof O]: O[k] extends ((...a: any[]) => any)
        ? k
        : never
}

An object type containing all of the methods of the object type provided

Type Parameters

  • O extends object