Skip to content

Instantly share code, notes, and snippets.

@mgechev
Created August 25, 2020 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgechev/1ffb0d437ca32781684875125014c7a7 to your computer and use it in GitHub Desktop.
Save mgechev/1ffb0d437ca32781684875125014c7a7 to your computer and use it in GitHub Desktop.
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