Skip to content

Commit

Permalink
Fix typing issue for GraphQL 15
Browse files Browse the repository at this point in the history
  • Loading branch information
eddeee888 committed Aug 22, 2024
1 parent 9e8c92d commit 06035ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/utils/plugins-helpers/src/federation.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { astFromObjectType, getRootTypeNames, MapperKind, mapSchema } from '@graphql-tools/utils';
import {
type ConstDirectiveNode,
type DirectiveNode,
DefinitionNode,
DirectiveNode,
FieldDefinitionNode,
GraphQLNamedType,
GraphQLObjectType,
Expand Down Expand Up @@ -286,7 +285,7 @@ export class ApolloFederation {
export function checkObjectTypeFederationDetails(
node: ObjectTypeDefinitionNode | GraphQLObjectType,
schema: GraphQLSchema
): { resolvableKeyDirectives: readonly ConstDirectiveNode[] } | false {
): { resolvableKeyDirectives: readonly DirectiveNode[] } | false {
const {
name: { value: name },
directives,
Expand Down

0 comments on commit 06035ca

Please # to comment.