Skip to content

Commit e0cde8a

Browse files
committed
fix type defintion to reflect removed exports and options
1 parent 6f4a54d commit e0cde8a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/index.d.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
11
import { VNode } from 'preact';
22

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;
3+
export default function renderToString(vnode: VNode, context?: any): string;

0 commit comments

Comments
 (0)