()
| 708 | const [local, others] = splitProps(props, textKeys) |
| 709 | |
| 710 | const text = () => { |
| 711 | const value = local.file.contents as unknown |
| 712 | if (typeof value === "string") return value |
| 713 | if (Array.isArray(value)) return value.join("\n") |
| 714 | if (value == null) return "" |
| 715 | // oxlint-disable-next-line no-base-to-string -- file contents cast to unknown, coercion is intentional |
| 716 | return String(value) |
| 717 | } |
| 718 | |
| 719 | const lineCount = () => { |
| 720 | const value = text() |
no outgoing calls
no test coverage detected