Member predicate TypeScript::Type::getMethod

Gets the last signature of the method of the given name.

For overloaded methods, this is the most general version of the its signature, which covers all cases, but with less precision than the overload signatures.

Use getAMethodOverload to get any of its overload signatures.

FunctionCallSignatureType getMethod(string name)