types: update

This commit is contained in:
RosyCloudsLee
2024-05-21 09:36:14 +08:00
committed by GitHub
parent 613d20fc1b
commit 17ed4d640d

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