Skip to content

Commit 70ec03d

Browse files
pcarrierIvanGoncharov
authored andcommitted
TS: introspectionTypes should be array of GraphQLNamedType (#2261)
1 parent ed2563b commit 70ec03d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/type/introspection.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
GraphQLObjectType,
33
GraphQLField,
44
GraphQLEnumType,
5-
GraphQLType,
5+
GraphQLNamedType,
66
} from './definition';
77

88
export const __Schema: GraphQLObjectType;
@@ -35,6 +35,6 @@ export const SchemaMetaFieldDef: GraphQLField<any, any>;
3535
export const TypeMetaFieldDef: GraphQLField<any, any>;
3636
export const TypeNameMetaFieldDef: GraphQLField<any, any>;
3737

38-
export const introspectionTypes: ReadonlyArray<GraphQLType>;
38+
export const introspectionTypes: ReadonlyArray<GraphQLNamedType>;
3939

40-
export function isIntrospectionType(type: GraphQLType): boolean;
40+
export function isIntrospectionType(type: GraphQLNamedType): boolean;

0 commit comments

Comments
 (0)