From 088e82909029373a20b4d789a37b84cad11b94c8 Mon Sep 17 00:00:00 2001 From: Juliette Pretot Date: Wed, 12 Dec 2018 17:00:31 +0100 Subject: [PATCH] Mark more gatsby-image props as optional --- packages/gatsby-image/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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