-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.d.ts
More file actions
51 lines (43 loc) · 1.12 KB
/
Copy pathglobal.d.ts
File metadata and controls
51 lines (43 loc) · 1.12 KB
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
// this file is conditionally added/removed to next-env.d.ts
// if the static image import handling is enabled
declare module '*.svg' {
/**
* Use any to avoid conflicts with
* @svgr/webpack plugin or
* babel-plugin-inline-react-svg plugin.
*/
const content: any
export default content
}
declare module '*.png' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}
declare module '*.jpg' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}
declare module '*.jpeg' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}
declare module '*.gif' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}
declare module '*.webp' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}
declare module '*.avif' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}
declare module '*.ico' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}
declare module '*.bmp' {
const value: import('react').ImgHTMLAttributes<any>
export default value
}