Deps: {
    getRequest: <T>(path: string) => Promise<T>;
    postRequest: <T>(path: string, body: any) => Promise<T>;
}

Type declaration

  • getRequest: <T>(path: string) => Promise<T>
  • postRequest: <T>(path: string, body: any) => Promise<T>