-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.d.ts
More file actions
44 lines (37 loc) · 956 Bytes
/
global.d.ts
File metadata and controls
44 lines (37 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
declare module "*.css" {
const content: { [className: string]: string };
export default content;
}
declare module "*.scss" {
const content: { [className: string]: string };
export default content;
}
declare module "*.sass" {
const content: { [className: string]: string };
export default content;
}
// Swiper CSS imports
declare module "swiper/css" {
const content: unknown;
export default content;
}
declare module "swiper/css/*" {
const content: unknown;
export default content;
}
// ESLint flat config import (JS-only package)
declare module "eslint-config-next";
/**
* Type definitions for window global properties
*/
declare global {
interface Window {
CHATBOT_BASE_URL?: string;
CHATBOT_TITLE?: string;
CHATBOT_GREETING?: string;
CHATBOT_PLACEHOLDER?: string;
gtag?: (command: string, eventName: string, params?: Record<string, unknown>) => void;
__INITIAL_LANGUAGE__?: string;
}
}
export {};