chore: 同步完整版代码

This commit is contained in:
xiaoxian521
2024-05-28 14:05:39 +08:00
parent a4f857124f
commit 0a57ad7920
4 changed files with 605 additions and 615 deletions

View File

@@ -36,12 +36,12 @@ export default class PureHttp {
): Promise<T>;
post<T, P>(
url: string,
params?: T,
params?: P,
config?: PureHttpRequestConfig
): Promise<P>;
): Promise<T>;
get<T, P>(
url: string,
params?: T,
params?: P,
config?: PureHttpRequestConfig
): Promise<P>;
): Promise<T>;
}