Skip to content

Commit 3cf6170

Browse files
committed
fix: remove type
1 parent 1de6d8c commit 3cf6170

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/core/BaseService.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ class BaseService {
7373
return this.post<T>(payload, config)
7474
}
7575

76-
put<T>(payload: any): Promise<T>
77-
put<T>(id: string | number, payload: any): Promise<T>
7876
put<T>(payload: any, config?: AxiosRequestConfig): Promise<T>
7977
put<T>(
8078
id: string | number,
@@ -91,8 +89,6 @@ class BaseService {
9189
return this.submit<T>(requestType, parameter, body, config)
9290
}
9391

94-
patch<T>(payload: any): Promise<T>
95-
patch<T>(id: string | number, payload: any): Promise<T>
9692
patch<T>(payload: any, config?: AxiosRequestConfig): Promise<T>
9793
patch<T>(
9894
id: string | number,
@@ -117,19 +113,6 @@ class BaseService {
117113
return this.delete<T>(id)
118114
}
119115

120-
submit<T = any>(requestType: Method): Promise<T>
121-
submit<T = any>(requestType: Method, parameter?: string | number): Promise<T>
122-
submit<T = any>(
123-
requestType: Method,
124-
parameter?: string | number,
125-
form?: T,
126-
): Promise<T>
127-
submit<T = any>(
128-
requestType: Method,
129-
parameter?: string | number,
130-
form?: T,
131-
config?: AxiosRequestConfig,
132-
): Promise<T>
133116
submit<T = any>(
134117
requestType: Method,
135118
parameter?: string | number,

0 commit comments

Comments
 (0)