Skip to content

Commit e726143

Browse files
dbushongmarvinhagemeister
authored andcommitted
fix: correct type sig for "pretty" option (#123)
1 parent 23fb79b commit e726143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { VNode } from 'preact';
33
interface Options {
44
shallow?: boolean;
55
xml?: boolean;
6-
pretty?: boolean;
6+
pretty?: boolean | string;
77
}
88

99
export function render(vnode: VNode, context?: any, options?: Options):string;

0 commit comments

Comments
 (0)