mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: TS报错
This commit is contained in:
@@ -287,7 +287,7 @@ class HttpService {
|
||||
}
|
||||
|
||||
// Base request method
|
||||
public request<T = any>(config: FullRequestConfig): Promise<T> {
|
||||
public async request(config: FullRequestConfig): Promise<any> {
|
||||
return this.instance.request({
|
||||
cancelToken: this.cancelTokenSource.token,
|
||||
...config,
|
||||
|
||||
Reference in New Issue
Block a user