(node: ts.Node)
| 1597 | const cached = programCache.get(tsconfigPath) |
| 1598 | if (cached !== undefined) return cached |
| 1599 | const fileNames = new Set<string>() |
| 1600 | const result = collectTsConfigFiles(tsconfigPath, new Set(), fileNames) |
| 1601 | if (result.error !== undefined || result.parsed === undefined) { |
| 1602 | const entry = { error: result.error ?? `Unable to parse TypeScript config ${tsconfigPath}`, reported: false } |
| 1603 | programCache.set(tsconfigPath, entry) |
| 1604 | return entry |
| 1605 | } |
no test coverage detected
searching dependent graphs…