(endpoint: string, data?: unknown, options?: RequestOptions)
| 76 | } |
| 77 | |
| 78 | patch<T>(endpoint: string, data?: unknown, options?: RequestOptions) { |
| 79 | return this.request<T>(endpoint, { |
| 80 | ...options, |
| 81 | method: 'PATCH', |
| 82 | body: data ? JSON.stringify(data) : undefined, |
| 83 | }) |
| 84 | } |
| 85 | |
| 86 | delete<T>(endpoint: string, options?: RequestOptions) { |
| 87 | return this.request<T>(endpoint, { ...options, method: 'DELETE' }) |
no test coverage detected