From 87dbf384caa60f75257bbfb8baa4c4032a59b44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Thu, 23 Jul 2026 16:01:10 +0200 Subject: [PATCH] chore(ts): import CookieNotice and add to Window interface Added CookieNotice import and included it in the global Window interface for better type support. --- resources/ts/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/ts/index.d.ts b/resources/ts/index.d.ts index 400552c..5269f80 100644 --- a/resources/ts/index.d.ts +++ b/resources/ts/index.d.ts @@ -1,4 +1,4 @@ -export { }; +import type CookieNotice from "@ldc-web/cookie-notice"; import type VueTagsInput from "@sipec/vue3-tags-input"; import { AxiosStatic } from "axios"; @@ -75,6 +75,7 @@ declare global { type Enum = EnumInterface; interface Window { + CookieNotice: typeof CookieNotice; axios: AxiosStatic; // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type Swal: Function;