From 837550bd333b6f3e00c008c97fa211584eefa319 Mon Sep 17 00:00:00 2001 From: Mateusz Narowski Date: Thu, 7 Dec 2023 11:38:12 +0100 Subject: [PATCH] fix: add $http (Axios) to API interface (#244) --- lib/types.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/types.d.ts b/lib/types.d.ts index 4b9de720..349051fc 100644 --- a/lib/types.d.ts +++ b/lib/types.d.ts @@ -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, /** get page response */