types: update

This commit is contained in:
RosyCloudsLee 2024-05-21 09:36:14 +08:00 committed by GitHub
parent 613d20fc1b
commit 17ed4d640d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>;
}