(child: any)
| 886 | } |
| 887 | |
| 888 | function isTextLikeChild(child: any): boolean { |
| 889 | return child.type === "JSXText" || (child.type === "JSXExpressionContainer" && child.expression?.type === "StringLiteral"); |
| 890 | } |
| 891 | |
| 892 | function isEmptyTextLikeChild(child: any): boolean { |
| 893 | if (child.type === "JSXText") return child.value === ""; |
no outgoing calls
no test coverage detected