( signatures: ReadonlyArray<ts.Signature>, checker: ts.TypeChecker, location: ts.Node )
| 2993 | } |
| 2994 | |
| 2995 | function representativeSignatures( |
| 2996 | signatures: ReadonlyArray<ts.Signature>, |
| 2997 | checker: ts.TypeChecker, |
| 2998 | location: ts.Node |
| 2999 | ): ReadonlyArray<ts.Signature> { |
| 3000 | const seen = new Set<string>() |
| 3001 | const out: Array<ts.Signature> = [] |
| 3002 | for (const signature of signatures) { |
| 3003 | const key = signatureShapeKey(signature, checker, location) |
| 3004 | if (seen.has(key)) continue |
| 3005 | seen.add(key) |
| 3006 | out.push(signature) |
| 3007 | } |
| 3008 | return out |
| 3009 | } |
| 3010 | |
| 3011 | function functionSignature( |
| 3012 | name: string, |
no test coverage detected