-
Notifications
You must be signed in to change notification settings - Fork 2
/
types.d.ts
72 lines (69 loc) · 1.46 KB
/
types.d.ts
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
declare module '*.module.css' {
declare const styles: Record<string, string>;
export default styles;
}
declare module '*.module.sass' {
declare const styles: Record<string, string>;
export default styles;
}
declare module '*.module.scss' {
declare const styles: Record<string, string>;
export default styles;
}
declare module '*.module.less' {
declare const classes: Record<string, string>;
export default classes;
}
declare module '*.module.styl' {
declare const classes: Record<string, string>;
export default classes;
}
/* CSS FILES */
declare module '*.css';
declare module '*.sass';
declare module '*.scss';
declare module '*.less';
declare module '*.styl';
/* IMAGES */
declare module '*.svg' {
const ref: string;
export default ref;
}
declare module '*.bmp' {
const ref: string;
export default ref;
}
declare module '*.gif' {
const ref: string;
export default ref;
}
declare module '*.jpg' {
const ref: string;
export default ref;
}
declare module '*.jpeg' {
const ref: string;
export default ref;
}
declare module '*.png' {
const ref: string;
export default ref;
}
declare module '*.avif' {
const ref: string;
export default ref;
}
declare module '*.webp' {
const ref: string;
export default ref;
}
declare module '*.css?inline' {
import type { CSSResultGroup } from 'lit';
const content: CSSResultGroup;
export default content;
}
declare module 'csstype' {
interface Properties {
[index: `--${string}`]: any;
}
}