(exportName, displayName)
| 465 | } |
| 466 | |
| 467 | function getComponentName(exportName, displayName) { |
| 468 | if (displayName) { |
| 469 | const firstCharCode = displayName.charCodeAt(0); |
| 470 | if (firstCharCode >= 65 && firstCharCode <= 90) { |
| 471 | return displayName || exportName; |
| 472 | } |
| 473 | } |
| 474 | return exportName; |
| 475 | } |
| 476 | |
| 477 | const defaultTsConfigPath = path.resolve(__dirname, './tsconfig.json'); |
| 478 |
no outgoing calls
no test coverage detected
searching dependent graphs…