Closed gmq closed 7 years ago
Hey nice observation!
According to this line the return type of interceptor function is defined as any[] | Observable<any[]>
so there is no boolean.
That is basically why it complains =)
I will push the fix shortly
Wow, that was fast. Thanks!
The README mentions that returning false in an interceptor cancels the request but I'm getting the following typing error:
with this piece of code:
Any ideas about what I'm doing wrong? Thanks!