Brian
Member since Dec 15, 2017
- Profile: /members/13677-brian.htm
- Comments: 3
Recent Blog Comments By Brian
-
Note To Self: Adding Type Declaration Files To A TypeScript 2.6.2 Project
Posted on Dec 19, 2017 at 9:00 AM
@Josh, I hope we don't get into a "TypeScript vs JavaScript" discussion - there are are enough of those articles on Medium already:-)... read more »
-
Note To Self: Adding Type Declaration Files To A TypeScript 2.6.2 Project
Posted on Dec 15, 2017 at 5:42 PM
It would be interesting to see if an auto .d.ts generator would give the same results for these .js files: https://github.com/Microsoft/dts-gen... read more »
-
Using Abstract Classes As Dependency-Injection Tokens For Swappable Behaviors In Angular 4.2.3
Posted on Dec 15, 2017 at 7:11 AM
Great article. Using 'abstract' certainly seems like the logical approach, especially as it can be used directly for Injection, as opposed to using a 'class' and 'interface' combined. The other advantage of using 'abstract' class over interface, is that if you add concrete methods to the 'abstract... read more »