File tree Expand file tree Collapse file tree 2 files changed +32
-14
lines changed
Expand file tree Collapse file tree 2 files changed +32
-14
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,24 @@ interface Options {
1010 skipFalseAttributes ?: boolean ;
1111}
1212
13- export default function renderToStringPretty (
13+ declare function renderToStringPretty (
1414 vnode : VNode ,
1515 context ?: any ,
1616 options ?: Options
1717) : string ;
18- export function render ( vnode : VNode , context ?: any , options ?: Options ) : string ;
1918
20- export function shallowRender (
21- vnode : VNode ,
22- context ?: any ,
23- options ?: Options
24- ) : string ;
19+ declare namespace renderToStringPretty {
20+ export function render (
21+ vnode : VNode ,
22+ context ?: any ,
23+ options ?: Options
24+ ) : string ;
25+
26+ export function shallowRender (
27+ vnode : VNode ,
28+ context ?: any ,
29+ options ?: Options
30+ ) : string ;
31+ }
32+
33+ export = renderToStringPretty ;
Original file line number Diff line number Diff line change @@ -10,15 +10,24 @@ interface Options {
1010 skipFalseAttributes ?: boolean ;
1111}
1212
13- export default function renderToStringPretty (
13+ declare function renderToStringPretty (
1414 vnode : VNode ,
1515 context ?: any ,
1616 options ?: Options
1717) : string ;
18- export function render ( vnode : VNode , context ?: any , options ?: Options ) : string ;
1918
20- export function shallowRender (
21- vnode : VNode ,
22- context ?: any ,
23- options ?: Options
24- ) : string ;
19+ declare namespace renderToStringPretty {
20+ export function render (
21+ vnode : VNode ,
22+ context ?: any ,
23+ options ?: Options
24+ ) : string ;
25+
26+ export function shallowRender (
27+ vnode : VNode ,
28+ context ?: any ,
29+ options ?: Options
30+ ) : string ;
31+ }
32+
33+ export = renderToStringPretty ;
You can’t perform that action at this time.
0 commit comments