File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -100,23 +100,23 @@ export type Character = {
100
100
appearsIn : Array < number > ,
101
101
} ;
102
102
103
- export type Human = {
103
+ export type Human = { |
104
104
type : 'Human' ,
105
105
id : string ,
106
106
name : string ,
107
107
friends : Array < string > ,
108
108
appearsIn : Array < number > ,
109
109
homePlanet : string ,
110
- } ;
110
+ | } ;
111
111
112
- export type Droid = {
112
+ export type Droid = { |
113
113
type : 'Droid' ,
114
114
id : string ,
115
115
name : string ,
116
116
friends : Array < string > ,
117
117
appearsIn : Array < number > ,
118
118
primaryFunction : string ,
119
- } ;
119
+ | } ;
120
120
121
121
/**
122
122
* Helper function to get a character by ID.
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ import type {
94
94
* Namely, schema of the type system that is currently executing,
95
95
* and the fragments defined in the query document
96
96
*/
97
- export type ExecutionContext = {
97
+ export type ExecutionContext = { |
98
98
schema : GraphQLSchema ,
99
99
fragments : ObjMap < FragmentDefinitionNode > ,
100
100
rootValue : mixed ,
@@ -103,7 +103,7 @@ export type ExecutionContext = {
103
103
variableValues : { [ variable : string ] : mixed } ,
104
104
fieldResolver : GraphQLFieldResolver < any , any> ,
105
105
errors : Array < GraphQLError > ,
106
- } ;
106
+ | } ;
107
107
108
108
/**
109
109
* The result of GraphQL execution.
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export type ASTNode =
136
136
/**
137
137
* Utility type listing all nodes indexed by their kind.
138
138
*/
139
- export type ASTKindToNode = {
139
+ export type ASTKindToNode = { |
140
140
Name : NameNode ,
141
141
Document : DocumentNode ,
142
142
OperationDefinition : OperationDefinitionNode ,
@@ -180,7 +180,7 @@ export type ASTKindToNode = {
180
180
UnionTypeExtension : UnionTypeExtensionNode ,
181
181
EnumTypeExtension : EnumTypeExtensionNode ,
182
182
InputObjectTypeExtension : InputObjectTypeExtensionNode ,
183
- } ;
183
+ | } ;
184
184
185
185
// Name
186
186
Original file line number Diff line number Diff line change 10
10
import invariant from '../jsutils/invariant' ;
11
11
import defineToStringTag from '../jsutils/defineToStringTag' ;
12
12
13
- type Location = {
13
+ type Location = { |
14
14
line : number ,
15
15
column : number ,
16
- } ;
16
+ | } ;
17
17
18
18
/**
19
19
* A representation of source input to GraphQL.
You can’t perform that action at this time.
0 commit comments