()
| 35 | } |
| 36 | |
| 37 | function getTsConfigCompilerOptions() { |
| 38 | // Since extract-meta can be run on JavaScript sources, if trying to get the |
| 39 | // config doesn't work, we can fall back gracefully. |
| 40 | try { |
| 41 | const tsconfig = ts.getParsedCommandLineOfConfigFile('tsconfig.json', { esModuleInterop: true }, ts.sys); |
| 42 | return tsconfig?.options ?? {}; |
| 43 | } catch { |
| 44 | return {}; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | let failedBuild = false; |
| 49 | const excludedDocProps = ['setProps', 'id', 'className', 'style']; |
no outgoing calls
no test coverage detected
searching dependent graphs…