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 e0cde8a commit 692b92bCopy full SHA for 692b92b
jsx.d.ts
@@ -1,13 +1,21 @@
1
import { VNode } from 'preact';
2
3
interface Options {
4
- jsx?: boolean;
5
- xml?: boolean;
6
- functions?: boolean
7
- functionNames?: boolean,
8
- skipFalseAttributes?: boolean
9
- pretty?: boolean | string;
+ jsx?: boolean;
+ xml?: boolean;
+ pretty?: boolean | string;
+ shallow?: boolean;
+ functions?: boolean;
+ functionNames?: boolean;
10
+ skipFalseAttributes?: boolean;
11
}
12
-export function render(vnode: VNode, context?: any, options?: Options):string;
13
+export default function renderToStringPretty(
14
+ vnode: VNode,
15
+ context?: any,
16
+ options?: Options
17
+): string;
18
+
19
+export function shallowRender(vnode: VNode, context?: any): string;
20
21
export default render;
0 commit comments