Skip to content

Commit

Permalink
fix: add $http (Axios) to API interface (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusznarowski authored and mercs600 committed Apr 17, 2024
1 parent def5d59 commit 837550b
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 837550b

Please sign in to comment.