File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Microsoft.AspNetCore.SpaServices/npm/aspnet-prerendering/src Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export interface RenderToStringFunc {
3
3
}
4
4
5
5
export interface RenderToStringCallback {
6
- ( error : any , result ?: RenderToStringResult ) : void ;
6
+ ( error : any , result ?: RenderResult ) : void ;
7
7
}
8
8
9
9
export interface RenderToStringResult {
@@ -16,8 +16,10 @@ export interface RedirectResult {
16
16
redirectUrl : string ;
17
17
}
18
18
19
+ export type RenderResult = RenderToStringResult | RedirectResult ;
20
+
19
21
export interface BootFunc {
20
- ( params : BootFuncParams ) : Promise < RenderToStringResult > ;
22
+ ( params : BootFuncParams ) : Promise < RenderResult > ;
21
23
}
22
24
23
25
export interface BootFuncParams {
Original file line number Diff line number Diff line change 1
- import { RenderToStringResult , RedirectResult } from './PrerenderingInterfaces' ;
2
1
export * from './Prerendering' ;
3
-
4
- export type RenderResult = RenderToStringResult | RedirectResult ;
2
+ export * from './PrerenderingInterfaces' ;
You can’t perform that action at this time.
0 commit comments