My Angular course: angularstart.com/
It feels like there are two different worlds of TypeScript, and more advanced TypeScript can look completely incomprehensible - even if you've been using TypeScript for a long time. This video walks through typing a simple utility from an Angular library, and highlights some advanced TypeScript concepts that might not be as scary as they first seem.
signalSlice source code: github.com/nartc/ngxtension-p...
More on signalSlice: • I tried to build my dr...
Get weekly content and tips exclusive to my newsletter: mobirony.ck.page/4a331b9076
Want to build mobile apps with Angular?: ionicstart.com
#typescript #angular
0:00 Introduction
0:36 The Initial API
1:49 The Untyped API
2:06 Generic for initialState
2:55 Typing reducers
4:57 Typing selectors
5:16 The return type
7:55 Conclusion
- More tutorials: modernangular.com
- Follow me on Twitter: / joshuamorony
30 май 2024