-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
custom.d.ts
44 lines (36 loc) · 1.02 KB
/
custom.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
declare module '*.modules.css' {
const classes: { [key: string]: string };
export default classes;
}
declare module '*.module.scss' {
const classes: { [key: string]: string };
export default classes;
}
declare module '*.module.sass' {
const classes: { [key: string]: string };
export default classes;
}
declare module '*.module.less' {
const classes: { [key: string]: string };
export default classes;
}
declare module '*.module.styl' {
const classes: { [key: string]: string };
export default classes;
}
declare module "*.svg" {
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
export default content;
}
declare module "*.jpg" {
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
export default content;
}
declare module "*.png" {
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
export default content;
}
declare module "*.jpeg" {
const content: React.FunctionComponent<React.SVGAttributes<SVGElement>>;
export default content;
}