mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
types: update
This commit is contained in:
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>;
|
): Promise<T>;
|
||||||
post<T, P>(
|
post<T, P>(
|
||||||
url: string,
|
url: string,
|
||||||
params?: T,
|
params?: P,
|
||||||
config?: PureHttpRequestConfig
|
config?: PureHttpRequestConfig
|
||||||
): Promise<P>;
|
): Promise<T>;
|
||||||
get<T, P>(
|
get<T, P>(
|
||||||
url: string,
|
url: string,
|
||||||
params?: T,
|
params?: P,
|
||||||
config?: PureHttpRequestConfig
|
config?: PureHttpRequestConfig
|
||||||
): Promise<P>;
|
): Promise<T>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user