(symbol: ts.Symbol)
| 27 | } |
| 28 | |
| 29 | function getSymbolName(symbol: ts.Symbol) { |
| 30 | // @ts-ignore |
| 31 | const prefix: string = symbol?.parent && getSymbolName(symbol.parent); |
| 32 | const name = symbol.getName(); |
| 33 | if (prefix && prefix.length <= 20) { |
| 34 | return `${prefix}.${name}`; |
| 35 | } |
| 36 | return name; |
| 37 | } |
| 38 | |
| 39 | function getFunctionParams(parameters: any[] = [], checker, parentIds, type) { |
| 40 | return parameters.map((node) => { |
no test coverage detected
searching dependent graphs…