(renderFunc /* : RenderFunction */)
| 76 | ? null |
| 77 | : { |
| 78 | renderStatic(renderFunc /* : RenderFunction */) { |
| 79 | reset(); |
| 80 | startBuffering(); |
| 81 | const html = renderFunc(); |
| 82 | const cssContent = flushToString(); |
| 83 | |
| 84 | return { |
| 85 | html: html, |
| 86 | css: { |
| 87 | content: cssContent, |
| 88 | renderedClassNames: getRenderedClassNames(), |
| 89 | }, |
| 90 | }; |
| 91 | }, |
| 92 | }; |
| 93 | |
| 94 | /** |
nothing calls this directly
no test coverage detected