(text: string)
| 82 | } |
| 83 | |
| 84 | function createParagraph(text: string): Paragraph { |
| 85 | return { |
| 86 | type: "paragraph", |
| 87 | children: createTextNodes(text), |
| 88 | }; |
| 89 | } |
| 90 | |
| 91 | function createTextNodes(text: string): PhrasingContent[] { |
| 92 | if (!text) { |
no test coverage detected