diff --git a/packages/gatsby-image/index.d.ts b/packages/gatsby-image/index.d.ts index c2252b03c162b..eaeebbc3e8e55 100644 --- a/packages/gatsby-image/index.d.ts +++ b/packages/gatsby-image/index.d.ts @@ -16,10 +16,10 @@ interface FluidObject { src: string srcSet: string sizes: string - base64: string - tracedSVG: string - srcWebp: string - srcSetWebp: string + base64?: string + tracedSVG?: string + srcWebp?: string + srcSetWebp?: string } interface GatsbyImageProps { @@ -34,7 +34,7 @@ interface GatsbyImageProps { critical?: boolean style?: object imgStyle?: object - placeholderStyle: object + placeholderStyle?: object backgroundColor?: string | boolean onLoad?: () => void onStartLoad?: (param: { wasCached: boolean }) => void