We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4a54d commit e0cde8aCopy full SHA for e0cde8a
src/index.d.ts
@@ -1,16 +1,3 @@
1
import { VNode } from 'preact';
2
3
-interface Options {
4
- shallow?: boolean;
5
- xml?: boolean;
6
- pretty?: boolean | string;
7
-}
8
-
9
-export function render(vnode: VNode, context?: any, options?: Options): string;
10
-export function renderToString(
11
- vnode: VNode,
12
- context?: any,
13
- options?: Options
14
-): string;
15
-export function shallowRender(vnode: VNode, context?: any): string;
16
-export default render;
+export default function renderToString(vnode: VNode, context?: any): string;
0 commit comments