Skip to content

Commit

Permalink
Remove the normalized config export (#4227)
Browse files Browse the repository at this point in the history
Closes graphql/graphql-js#3853

There's only one normalizedConfig we export and these are just the type
config with a few extras. I would rather than exporting all of them just
stop exporting them for the time being as we don't accept them as inputs
and it can still be derived by doing
`ReturnType<GraphQLInterfaceType['toConfig']>` if it's really needed
  • Loading branch information
JoviDeCroock authored and erikwrede committed Oct 17, 2024
1 parent 7250bfd commit 924e9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/type/definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ export interface GraphQLInterfaceTypeConfig<TSource, TContext> {
extensionASTNodes?: Maybe<ReadonlyArray<InterfaceTypeExtensionNode>>;
}

export interface GraphQLInterfaceTypeNormalizedConfig<TSource, TContext>
interface GraphQLInterfaceTypeNormalizedConfig<TSource, TContext>
extends GraphQLInterfaceTypeConfig<any, any> {
interfaces: ReadonlyArray<GraphQLInterfaceType>;
fields: GraphQLFieldConfigMap<TSource, TContext>;
Expand Down

0 comments on commit 924e9d3

Please sign in to comment.