File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
goldens/public-api/angular/ssr Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class CommonEngine {
17
17
// @public (undocumented)
18
18
export interface CommonEngineOptions {
19
19
bootstrap? : Type <{}> | (() => Promise <ApplicationRef >);
20
- enablePeformanceProfiler ? : boolean ;
20
+ enablePerformanceProfiler ? : boolean ;
21
21
providers? : StaticProvider [];
22
22
}
23
23
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export interface CommonEngineOptions {
26
26
/** A set of platform level providers for all requests. */
27
27
providers ?: StaticProvider [ ] ;
28
28
/** Enable request performance profiling data collection and printing the results in the server console. */
29
- enablePeformanceProfiler ?: boolean ;
29
+ enablePerformanceProfiler ?: boolean ;
30
30
}
31
31
32
32
export interface CommonEngineRenderOptions {
@@ -69,9 +69,9 @@ export class CommonEngine {
69
69
* render options
70
70
*/
71
71
async render ( opts : CommonEngineRenderOptions ) : Promise < string > {
72
- const enablePeformanceProfiler = this . options ?. enablePeformanceProfiler ;
72
+ const enablePerformanceProfiler = this . options ?. enablePerformanceProfiler ;
73
73
74
- const runMethod = enablePeformanceProfiler
74
+ const runMethod = enablePerformanceProfiler
75
75
? runMethodAndMeasurePerf
76
76
: noopRunMethodAndMeasurePerf ;
77
77
@@ -95,7 +95,7 @@ export class CommonEngine {
95
95
}
96
96
}
97
97
98
- if ( enablePeformanceProfiler ) {
98
+ if ( enablePerformanceProfiler ) {
99
99
printPerformanceLogs ( ) ;
100
100
}
101
101
You can’t perform that action at this time.
0 commit comments