We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c106776 commit 37fb228Copy full SHA for 37fb228
1 file changed
index.ts
@@ -1,8 +1,11 @@
1
import { dom } from "@typeup/dom"
2
import { Renderer } from "./Renderer"
3
-export function render(document: dom.Document): Promise<string> {
4
- const renderer = Renderer.create()
5
- return renderer.render(document)
+
+export namespace renderer {
+ export function render(document: dom.Document): Promise<string> {
6
+ const renderer = Renderer.create()
7
+ return renderer.render(document)
8
+ }
9
}
10
11
import "./document"
0 commit comments