@skyux/docs-tools 7.0.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -338,7 +338,7 @@ export class AppComponent {
|
|
|
338
338
|
|
|
339
339
|
constructor(
|
|
340
340
|
themeSvc: SkyThemeService,
|
|
341
|
-
renderer
|
|
341
|
+
renderer: Renderer2
|
|
342
342
|
) {
|
|
343
343
|
const themeSettings = new SkyThemeSettings(
|
|
344
344
|
SkyTheme.presets['${theme === SkyDocsCodeExampleTheme.Modern ? 'modern' : 'default'}'],
|
|
@@ -401,13 +401,10 @@ import {
|
|
|
401
401
|
AppModule
|
|
402
402
|
} from './app/app.module';
|
|
403
403
|
|
|
404
|
-
platformBrowserDynamic()
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
}
|
|
404
|
+
platformBrowserDynamic()
|
|
405
|
+
.bootstrapModule(AppModule)
|
|
406
|
+
.catch((err) => console.error(err));
|
|
408
407
|
|
|
409
|
-
window['ngRef'] = ref;
|
|
410
|
-
}).catch(err => console.error(err));
|
|
411
408
|
`;
|
|
412
409
|
files[`${srcPath}polyfills.ts`] = `${banner}
|
|
413
410
|
import 'zone.js';
|
|
@@ -439,6 +436,10 @@ body {
|
|
|
439
436
|
}, undefined, 2);
|
|
440
437
|
files['tsconfig.json'] = `{
|
|
441
438
|
"compilerOptions": {
|
|
439
|
+
"strict": true,
|
|
440
|
+
"forceConsistentCasingInFileNames": true,
|
|
441
|
+
"noImplicitReturns": true,
|
|
442
|
+
"noFallthroughCasesInSwitch": true,
|
|
442
443
|
"target": "es2017",
|
|
443
444
|
"module": "es2020",
|
|
444
445
|
"moduleResolution": "node",
|