UNPKG

1.11 kBTypeScriptView Raw
1/* CSS MODULES */
2declare module '*.module.css' {
3 const classes: { [key: string]: string };
4 export default classes;
5}
6declare module '*.module.scss' {
7 const classes: { [key: string]: string };
8 export default classes;
9}
10declare module '*.module.sass' {
11 const classes: { [key: string]: string };
12 export default classes;
13}
14declare module '*.module.less' {
15 const classes: { [key: string]: string };
16 export default classes;
17}
18declare module '*.module.styl' {
19 const classes: { [key: string]: string };
20 export default classes;
21}
22
23/* CSS */
24declare module '*.css';
25declare module '*.scss';
26declare module '*.sass';
27declare module '*.less';
28declare module '*.styl';
29
30/* IMAGES */
31declare module '*.svg' {
32 const ref: string;
33 export default ref;
34}
35declare module '*.bmp' {
36 const ref: string;
37 export default ref;
38}
39declare module '*.gif' {
40 const ref: string;
41 export default ref;
42}
43declare module '*.jpg' {
44 const ref: string;
45 export default ref;
46}
47declare module '*.jpeg' {
48 const ref: string;
49 export default ref;
50}
51declare module '*.png' {
52 const ref: string;
53 export default ref;
54}