Skip to content

Commit 905b7f3

Browse files
TS: fix typing for GraphQLField::deprecationReason (#2474)
1 parent 23da3e8 commit 905b7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type/definition.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ export interface GraphQLField<
518518
resolve?: GraphQLFieldResolver<TSource, TContext, TArgs>;
519519
subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs>;
520520
isDeprecated: boolean;
521-
deprecationReason?: Maybe<string>;
521+
deprecationReason: Maybe<string>;
522522
extensions: Maybe<Readonly<Record<string, any>>>;
523523
astNode?: Maybe<FieldDefinitionNode>;
524524
}

0 commit comments

Comments
 (0)