mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-04 07:27:41 +08:00
types: update
This commit is contained in:
parent
613d20fc1b
commit
17ed4d640d
8
src/utils/http/types.d.ts
vendored
8
src/utils/http/types.d.ts
vendored
@ -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>;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user