diff --git a/packages/core/src/plugin/vendure-plugin.ts b/packages/core/src/plugin/vendure-plugin.ts index 12694589b4..3e300e9b7c 100644 --- a/packages/core/src/plugin/vendure-plugin.ts +++ b/packages/core/src/plugin/vendure-plugin.ts @@ -98,7 +98,7 @@ export interface APIExtensionDefinition { * * Passes the current schema as an optional argument, allowing the resolver to be based on the existing schema. */ - resolvers?: Array> | ((schema?: GraphQLSchema) => Array>); + resolvers?: Array> | (() => Array>); /** * @description * A map of GraphQL scalar types which should correspond to any custom scalars defined in your schema.