Skip to content

Instantly share code, notes, and snippets.

@calleufuzi
Last active November 21, 2019 03:00
Show Gist options
  • Save calleufuzi/4b41c6f188583f2f9eecfced93b9135c to your computer and use it in GitHub Desktop.
Save calleufuzi/4b41c6f188583f2f9eecfced93b9135c to your computer and use it in GitHub Desktop.
import { Injectable } from "@angular/core";
import { HttpClient } from "@angular/common/http";
import { CrudOperations } from "../../interfaces/crud-operations";
@Injectable({
providedIn: "root"
})
export abstract class ApiService<T, ID> implements CrudOperations<T, ID> {
constructor(protected _http: HttpClient, protected _baseUrl: string) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment