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 0b239cf commit f3fbba3Copy full SHA for f3fbba3
src/index.d.ts
@@ -2,13 +2,13 @@ import { VNode } from 'preact';
2
3
declare module render {
4
interface Options {
5
- shallow:boolean;
6
- xml:boolean;
7
- pretty:boolean;
+ shallow?: boolean;
+ xml?: boolean;
+ pretty?: boolean;
8
}
9
10
- function render(vnode:VNode, context?:any, options?:Options):string;
11
- function shallowRender(vnode:VNode, context?:any):string;
+ function render(vnode: VNode, context?: any, options?: Options): string;
+ function shallowRender(vnode: VNode, context?: any): string;
12
13
14
export = render;
0 commit comments