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:
parent
d3f47bd120
commit
87dbf384ca
1 changed files with 2 additions and 1 deletions
3
resources/ts/index.d.ts
vendored
3
resources/ts/index.d.ts
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue