diff --git a/apps/website/src/types/gatsby-autoload.d.ts b/apps/website/src/types/gatsby-autoload.d.ts deleted file mode 100644 index 6d1525806..000000000 --- a/apps/website/src/types/gatsby-autoload.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare module '@custom/schema/gatsby-autoload' { - export default Record; -} diff --git a/packages/schema/package.json b/packages/schema/package.json index f1bdba1f3..4dff901c7 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -27,6 +27,9 @@ ], "/source": [ "build/generated/source.d.ts" + ], + "gatsby-autoload": [ + "src/types/gatsby-autoload.d.ts" ] } }, diff --git a/packages/schema/src/types/gatsby-autoload.d.ts b/packages/schema/src/types/gatsby-autoload.d.ts new file mode 100644 index 000000000..7029ee48b --- /dev/null +++ b/packages/schema/src/types/gatsby-autoload.d.ts @@ -0,0 +1,3 @@ +import { GraphQLFieldResolver } from 'graphql'; + +export default Record>;