fix lint and type error
This commit is contained in:
@@ -36,6 +36,7 @@ async function request<T = unknown>(url: string, options: RequestOptions = {}):
|
||||
url = `${url}${separator}${query}`
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const { params: _params, timeout: _timeout, ...fetchOptions } = options
|
||||
|
||||
// 超时控制
|
||||
|
||||
Reference in New Issue
Block a user