Skip to content

Commit

Permalink
fix: add (Axios) to API interface (TYPO3-Headless#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusznarowski committed Dec 7, 2023
1 parent def5d59 commit 304ff81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ export namespace TYPO3 {
}

interface Api {
/** HTTP client instance (Axios) for making API requests */
$http: AxiosInstance,
/** get available languages and menu data for current page and locale */
getInitialData(params: { path: string }): Promise<void>,
/** get page response */
Expand Down

0 comments on commit 304ff81

Please sign in to comment.