(s: string | undefined)
| 49 | export function extractImportSpecifiers(content: string, lang: string): string[] { |
| 50 | const specs: string[] = []; |
| 51 | const push = (s: string | undefined) => { if (s) specs.push(s); }; |
| 52 | |
| 53 | if (lang === 'python') { |
| 54 | // from X import ... / import X |
no test coverage detected