Closed ThomasOrtiz closed 3 years ago
Merging #343 (f89ea70) into master (e123570) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #343 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 55 56 +1
Lines 1665 1698 +33
Branches 256 268 +12
=========================================
+ Hits 1665 1698 +33
Flag | Coverage Δ | |
---|---|---|
builder | 100.00% <100.00%> (ø) |
|
runtime | 100.00% <ø> (ø) |
|
srcapp | 100.00% <100.00%> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
lib/sky-pages-route-generator.js | 100.00% <ø> (ø) |
|
cli/build-public-library.js | 100.00% <100.00%> (ø) |
|
cli/utils/customizable-tsconfig-options.js | 100.00% <100.00%> (ø) |
|
cli/utils/run-build.js | 100.00% <100.00%> (ø) |
|
src/app/app.component.ts | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update e123570...f89ea70. Read the comment docs.
Changes
Background
Typescript
Why
Options
Typescript Compiler Options (click to expand)
[Typescript Compiler Options](https://www.typescriptlang.org/docs/handbook/compiler-options.html) ```TS // These two options are already allowed 'esModuleInterop', 'allowSyntheticDefaultImports', // Typescript Strict Mode enables the following flags 'strict', 'noImplicitAny', 'noImplicitThis', 'alwaysStrict', 'strictBindCallApply', 'strictNullChecks', 'strictFunctionTypes', 'strictPropertyInitialization', // Other recommended TS options 'forceConsistentCasingInFileNames', 'noImplicitReturns', 'noFallthroughCasesInSwitch', 'noUnusedLocals', 'noUnusedParameters' ```Angular
SkyUX 4 introduced
enableIvy
,fullTemplateTypeCheck
andstrictInjectionParameters
which are enabled by default.Why
fullTemplateTypeCheck
it allowed teams to use Angular's Full Template Type CheckingstrictTemplates
teams can utilize Angular's Strict Template Type CheckingOptions
Angular Compiler Options (click to expand)
```TS 'fullTemplateTypeCheck', // Angular Strict Flags 'strictTemplates', 'strictInputTypes', 'strictInputAccessModifiers', 'strictNullInputTypes', 'strictAttributeTypes', 'strictSafeNavigationTypes', 'strictDomLocalRefTypes', 'strictOutputEventTypes', 'strictDomEventTypes', 'strictContextGenerics', 'strictLiteralTypes', ```Resources