We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0bba64 commit f2b1821Copy full SHA for f2b1821
packages/gatsby-image/index.d.ts
@@ -16,10 +16,10 @@ interface FluidObject {
16
src: string
17
srcSet: string
18
sizes: string
19
- base64: string
20
- tracedSVG: string
21
- srcWebp: string
22
- srcSetWebp: string
+ base64?: string
+ tracedSVG?: string
+ srcWebp?: string
+ srcSetWebp?: string
23
}
24
25
interface GatsbyImageProps {
@@ -34,7 +34,7 @@ interface GatsbyImageProps {
34
critical?: boolean
35
style?: object
36
imgStyle?: object
37
- placeholderStyle: object
+ placeholderStyle?: object
38
backgroundColor?: string | boolean
39
onLoad?: () => void
40
onStartLoad?: (param: { wasCached: boolean }) => void
0 commit comments