TypeScript: Only Allow A Property From Interface as Parameter
So lately I was working with a team member on an Angular Pipe. We had an Address Interface and wanted to only allow an argument that was property from the Adress Interface. But how do you define that?
It turns out very simple, we need to use the keyo...
hasnode.byrayray.dev2 min read