Search Posts

Category: resharper

return type of method with nested promises

I am getting error from resharper Cannot convert type ‘IPromise < IPromise < void > >’ to type ‘IPromise < void >’: Types of property ‘then’ of types ‘IPromise < void >’ and ‘IPromise < IPromise < void > >’ are incompatible but if I compile the project using tsc from command line I am not getting any error. As I understand the nested promises are being handled by angular and the calling method does […]