| 201 | const checker = program.getTypeChecker(); |
| 202 | |
| 203 | const coerceValue = t => { |
| 204 | // May need to improve for shaped/list literals. |
| 205 | if (t.isStringLiteral()) return `'${t.value}'`; |
| 206 | return t.value; |
| 207 | }; |
| 208 | |
| 209 | const getComponentFromExport = exp => { |
| 210 | const decl = exp.valueDeclaration || exp.declarations[0]; |
no outgoing calls
no test coverage detected
searching dependent graphs…