Adjust Clutz to the newer AngularJS Promise types.
The previous type emit does not work with PromiseLike, and thus causes
incorrect collapsing of mixed promise chains. This change adjusts the type that
Clutz emits to precisely match .then() from DefinitelyTyped angular.d.ts.
Adjust Clutz to the newer AngularJS Promise types.
The previous type emit does not work with PromiseLike, and thus causes incorrect collapsing of mixed promise chains. This change adjusts the type that Clutz emits to precisely match .then() from DefinitelyTyped angular.d.ts.