Wednesday, March 15, 2017

If you have to hand all of $scope in from Angular 1 to an Angular 2 component you can pass it to an any in TypeScript.

Don't do this. Isolate only what you need in a drill down from $scope. Only hand that across the wire. Make a custom type to catch it.

No comments:

Post a Comment