Skip to content

Commit

Permalink
Combine Component and Module to Component and importing components
Browse files Browse the repository at this point in the history
  • Loading branch information
aldorn-cg committed Oct 21, 2024
1 parent c108199 commit 2b7aae7
Show file tree
Hide file tree
Showing 7 changed files with 778 additions and 549 deletions.
2 changes: 1 addition & 1 deletion agenda/foundations-remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h1 class="header-align-left">devonfw Angular Foundations</h1>
| <a href="../js-to-ts/index.html" target="_blank">JavaScript and TypeScript</a> | 09:15 - 10:00
| <a href="../js-to-ts/ts-exercises/index.html" target="_blank">TypeScript Exercises</a> | 10:00 - 11:00
|
| <a href="../ng-components/index.html" target="_blank">Angular Components</a> & <a href="../ng-module/index.html" target="_blank">Modules</a> with <a href="../exercises/index.html#/1" target="_blank">exercise</a> | 11:15 - 12:15 |
| <a href="../ng-components/index.html" target="_blank">Angular Components</a> with <a href="../exercises/index.html#/1" target="_blank">exercise</a> | 11:15 - 12:15 |
| <a href="../ng-data-binding/index.html" target="_blank">Angular Data Binding</a> with exercise <a href="../exercises/index.html#/2" target="_blank">@Input</a> and <a href="../exercises/index.html#/3" target="_blank">@Output</a>| 12:15 - 13:00 |
|
| Exercise Discussion & Quiz | 15:00 - 15:30
Expand Down
5 changes: 4 additions & 1 deletion js-to-ts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,10 @@ <h2>Type Inference</h2>
// corrects type
let zoo: Animal[] = [new Rhino(), new Elephant(), new Snake()];
</code></pre>
<p class="align_right"><small><a href="https://www.typescriptlang.org/docs/handbook/type-inference.html">TypeScript Docs</a></small></p>
</section>
<section>
<h2>Advanced Types / Type Narrowing</h2>
<h2>Type Narrowing</h2>
<pre><code class="typescript" data-trim>
function padLeft(value: string, padding: any) {
if (typeof padding === 'number') {
Expand All @@ -313,6 +314,7 @@ <h2>Advanced Types / Type Narrowing</h2>
throw new Error(`Expected string or number, got '${padding}'.`);
}
</code></pre>
<p><small><a href="https://www.typescriptlang.org/docs/handbook/2/narrowing.html">TypeScript Docs</a></small></p>
</section>
<section>
<h2>Strict Null Checks</h2>
Expand All @@ -328,6 +330,7 @@ <h2>Strict Null Checks</h2>
myFunc(null); // compiler error
myFunc(undefined); // compiler error
</code></pre>
<p><small><a href="https://www.typescriptlang.org/docs/handbook/2/basic-types.html#strictness">TypeScript Docs</a></small></p>
<aside class="notes">
<ul>
<li>Sometimes confusing for beginners and therefore turned of for the exercises</li>
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2b7aae7

Please sign in to comment.