Tuesday, May 8, 2018

TypeScript getters behave a little differently than other methods at an Angular 4 template.

You may just call out to whatever instead of whatever() as if whatever were a field. Obviously, no variables are ever handed into a getter so who needs a method signature?

No comments:

Post a Comment