File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { removeDoubleSlash } from '../util/string'
1414
1515const validator = Validator
1616const UNPROCESSABLE_ENTITY = 422
17+
1718export interface ParametersType {
1819 [ key : string ] : any
1920}
@@ -210,6 +211,7 @@ class BaseProxy {
210211 } )
211212 } )
212213 }
214+
213215 private __getParameterString ( url : string ) : string {
214216 const query = qs . stringify ( this . parameters , {
215217 encode : false ,
@@ -218,6 +220,7 @@ class BaseProxy {
218220 } )
219221 return `${ url } ${ query } `
220222 }
223+
221224 private static __validateRequestType ( requestType : Method ) : string {
222225 const requestTypes : Array < string > = [
223226 'get' ,
@@ -235,6 +238,7 @@ class BaseProxy {
235238 }
236239 return requestType . toLowerCase ( )
237240 }
241+
238242 private __hasFiles ( form : any ) : boolean {
239243 for ( const property in form ) {
240244 if ( ! form . hasOwnProperty ( property ) ) {
@@ -249,6 +253,7 @@ class BaseProxy {
249253 }
250254 return false
251255 }
256+
252257 private __hasFilesDeep ( object : any ) : boolean {
253258 if ( object === null ) {
254259 return false
You can’t perform that action at this time.
0 commit comments