Skip to content

Commit

Permalink
types: update
Browse files Browse the repository at this point in the history
  • Loading branch information
RosyCloudsLee authored May 21, 2024
1 parent 613d20f commit 17ed4d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/http/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
}

0 comments on commit 17ed4d6

Please sign in to comment.