(lazyHtml: T)
| 17 | } |
| 18 | |
| 19 | function htmlStream<T extends () => JSX.Element>(lazyHtml: T): Response { |
| 20 | return renderToStreamResponse(lazyHtml); |
| 21 | } |
| 22 | |
| 23 | return function bethPlugin(app: Elysia) { |
| 24 | return app.decorate("html", html).decorate("htmlStream", htmlStream); |
nothing calls this directly
no test coverage detected