Type alias MethodsObject<O>

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

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

Type Parameters

  • O extends object

Generated using TypeDoc