getResolvedSignature

abstract fun getResolvedSignature(    node: CallLikeExpression,     candidatesOutArray: <Error class: unknown class><Signature> = definedExternally,     argumentCount: Double = definedExternally): Signature?(source)

returns unknownSignature in the case of an error. returns undefined if the node is not valid.

Parameters

argumentCount

Apparent number of arguments, passed in case of a possibly incomplete call. This should come from an ArgumentListInfo. See signatureHelp.ts.