File tree Expand file tree Collapse file tree 5 files changed +8
-20
lines changed Expand file tree Collapse file tree 5 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ import type {
44 ConnectionCursor ,
55} from './connection' ;
66
7- // TS_SPECIFIC: This type is only exported by TypeScript
8- export interface ArraySliceMetaInfo {
7+ interface ArraySliceMetaInfo {
98 sliceStart : number ;
109 arrayLength : number ;
1110}
Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ import type {
99 Thunk ,
1010} from 'graphql' ;
1111
12- // TS_SPECIFIC: This type is only exported by TypeScript. Flow uses the spread operator instead.
13- export interface ForwardConnectionArgs {
12+ interface ForwardConnectionArgs {
1413 after : { type : GraphQLScalarType } ;
1514 first : { type : GraphQLScalarType } ;
1615}
@@ -22,8 +21,7 @@ export interface ForwardConnectionArgs {
2221export const forwardConnectionArgs : GraphQLFieldConfigArgumentMap &
2322 ForwardConnectionArgs ;
2423
25- // TS_SPECIFIC: This type is only exported by TypeScript. Flow uses the spread operator instead.
26- export interface BackwardConnectionArgs {
24+ interface BackwardConnectionArgs {
2725 before : { type : GraphQLScalarType } ;
2826 last : { type : GraphQLScalarType } ;
2927}
Original file line number Diff line number Diff line change @@ -7,14 +7,8 @@ import type {
77 Thunk ,
88} from 'graphql' ;
99
10- // TS_SPECIFIC: This type is only exported by TypeScript
11- export type MutationFn = (
12- object : any ,
13- ctx : any ,
14- info : GraphQLResolveInfo ,
15- ) => unknown ;
10+ type MutationFn = ( object : any , ctx : any , info : GraphQLResolveInfo ) => unknown ;
1611
17- // TS_SPECIFIC: This type is only exported by TypeScript
1812/**
1913 * A description of a mutation consumable by mutationWithClientMutationId
2014 * to create a GraphQLFieldConfig for that mutation.
@@ -29,7 +23,7 @@ export type MutationFn = (
2923 * input field, and it should return an Object with a key for each
3024 * output field. It may return synchronously, or return a Promise.
3125 */
32- export interface MutationConfig {
26+ interface MutationConfig {
3327 name : string ;
3428 description ?: string ;
3529 deprecationReason ?: string ;
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import type {
55 GraphQLTypeResolver ,
66} from 'graphql' ;
77
8- // TS_SPECIFIC: This type is only exported by TypeScript
9- export interface GraphQLNodeDefinitions < TContext > {
8+ interface GraphQLNodeDefinitions < TContext > {
109 nodeInterface : GraphQLInterfaceType ;
1110 nodeField : GraphQLFieldConfig < any , TContext > ;
1211 nodesField : GraphQLFieldConfig < any , TContext > ;
@@ -31,8 +30,7 @@ export function nodeDefinitions<TContext>(
3130 typeResolver ?: GraphQLTypeResolver < any , TContext > ,
3231) : GraphQLNodeDefinitions < TContext > ;
3332
34- // TS_SPECIFIC: This type is only exported by TypeScript
35- export interface ResolvedGlobalId {
33+ interface ResolvedGlobalId {
3634 type : string ;
3735 id : string ;
3836}
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import type {
55 GraphQLResolveInfo ,
66} from 'graphql' ;
77
8- // TS_SPECIFIC: This type is only exported by TypeScript
9- export interface PluralIdentifyingRootFieldConfig {
8+ interface PluralIdentifyingRootFieldConfig {
109 argName : string ;
1110 inputType : GraphQLInputType ;
1211 outputType : GraphQLOutputType ;
You can’t perform that action at this time.
0 commit comments