(node)
| 78 | } |
| 79 | |
| 80 | export function isStringLiteral(node) { |
| 81 | return ( |
| 82 | (node?.type === "Literal" && typeof node.value === "string") || node?.type === "StringLiteral" |
| 83 | ); |
| 84 | } |
| 85 | |
| 86 | export function typeName(node) { |
| 87 | if (node?.type === "Identifier") return node.name; |
no outgoing calls
no test coverage detected