chore(ts): import CookieNotice and add to Window interface

Added CookieNotice import and included it in the global Window interface for better type support.
This commit is contained in:
Jérémy Munsch 2026-07-23 16:01:10 +02:00
parent d3f47bd120
commit 87dbf384ca
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4

View file

@ -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;