Posts by Rafael Corradini da Cunha • 26 points
2 posts
-
1
votes1
answer28
viewsA: How to disable Angular comments
Don’t worry about that, when you build for production(ng build --Prod), comments will be dropped, see what’s said on documentation: "Minification: removes excess whitespace, comments, and optional…
-
0
votes1
answer95
viewsA: Angular - HTTP Interceptor returns the value of a promisse
Try using an async Function, so you can use await inside the function to wait for the return of Promise. intercept(req: HttpRequest, next: HttpHandler): Observable> { return…