In this snippet I got the error

 TSLint: Shadowed name: 'response'(no-shadowed-variable) in Typescript

The snippet

.then((response: any) => {
        if (response.userResult) {
          this.authenticationService
            .getUser()
            .then((response: any) => {

The linter complains because you are redefining the same variable multiple times. Thus replacing the ones in the closure containing it.

The solution

Change the second "response" variable

.then((response: any) => {
        if (response.userResult) {
          this.authenticationService
            .getUser()
            .then((result: any) => {