(endpoint: string, data?: unknown, options?: RequestOptions)
| 68 | } |
| 69 | |
| 70 | put<T>(endpoint: string, data?: unknown, options?: RequestOptions) { |
| 71 | return this.request<T>(endpoint, { |
| 72 | ...options, |
| 73 | method: 'PUT', |
| 74 | body: data ? JSON.stringify(data) : undefined, |
| 75 | }) |
| 76 | } |
| 77 | |
| 78 | patch<T>(endpoint: string, data?: unknown, options?: RequestOptions) { |
| 79 | return this.request<T>(endpoint, { |
no test coverage detected