This is a library I am using in all typescript project which consume API Platform
This is a copy of code created by @VCastro45
Functions
configureCancel
- configureCancel(cancelTokenSource?: CancelTokenSource, config?: AxiosRequestConfig): undefined | AxiosRequestConfig
-
Parameters
-
Optional cancelTokenSource: CancelTokenSource
-
Optional config: AxiosRequestConfig
Returns undefined
|
AxiosRequestConfig
configurePage
- configurePage(page?: Page, config?: AxiosRequestConfig): undefined | AxiosRequestConfig
-
Parameters
-
Optional page: Page
-
Optional config: AxiosRequestConfig
Returns undefined
|
AxiosRequestConfig
createPropsParams
- createPropsParams(props: string[]): string
-
Parameters
Returns string