MCPcopy Create free account
hub / github.com/YeShengDe/AddressGeneratorFe / patch

Method patch

src/lib/request.ts:150–156  ·  view source on GitHub ↗
(
    url: string,
    data?: B,
    options?: Omit<RequestOptions, 'data'>
  )

Source from the content-addressed store, hash-verified

148
149 // PATCH 请求
150 patch<T = unknown, B = unknown>(
151 url: string,
152 data?: B,
153 options?: Omit<RequestOptions, 'data'>
154 ) {
155 return this.request<T>(url, { ...options, method: 'PATCH', data });
156 }
157
158 // DELETE 请求
159 delete<T = unknown>(url: string, options?: RequestOptions) {

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected