Skip to content

Commit

Permalink
feat(gatsby-transformer-sharp): ImageSharp as child of File type(#16109)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst authored and wardpeet committed Jul 29, 2019
1 parent 00fd5fa commit 272d22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-transformer-sharp/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports.sourceNodes = ({ actions }) => {

if (createTypes) {
createTypes(`
type ImageSharp implements Node @infer {
type ImageSharp implements Node @infer @childOf(types: ["File"]) {
id: ID!
}
`)
Expand Down

0 comments on commit 272d22f

Please sign in to comment.