Created
August 25, 2020 21:37
-
-
Save mgechev/1ffb0d437ca32781684875125014c7a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpClient } from '@angular/common/http'; | |
@Component({...}) | |
export class AppComponent { | |
client: any; | |
constructor(http: HttpClient) { | |
this.client = http; | |
} | |
handleClick() { | |
this.client.deprecatedMethod(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment