Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

[gatsby-image] Bad schema typing for gatsby-images ? #199

Open
ohlr opened this issue May 2, 2020 · 0 comments
Open

[gatsby-image] Bad schema typing for gatsby-images ? #199

ohlr opened this issue May 2, 2020 · 0 comments

Comments

@ohlr
Copy link

ohlr commented May 2, 2020

I have exactly the same issue like this

Auto type generation results in ImageSharpFluid-Type for gatsby-images which is incompatible with FluidObject.

Type 'ImageSharpFluid' is not assignable to type 'FluidObject | FluidObject[] | undefined'.

Is there something that is need to be done on this side?

"gatsby": "^2.21.9",
"gatsby-image": "^2.4.0",
"gatsby-plugin-graphql-codegen": "^2.6.1",
"gatsby-plugin-typescript": "^2.3.5",
"gatsby-source-prismic-graphql": "^3.5.0",
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant