File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,6 @@ export function cursorForObjectInConnection<T>(
78
78
* otherwise it will be the default.
79
79
*/
80
80
export function getOffsetWithDefault (
81
- cursor ? : ConnectionCursor | null ,
81
+ cursor : ConnectionCursor | null | undefined ,
82
82
defaultOffset : number ,
83
83
) : number ;
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export function cursorForObjectInConnection<T>(
153
153
* otherwise it will be the default.
154
154
*/
155
155
export function getOffsetWithDefault(
156
- cursor?: ? ConnectionCursor,
156
+ cursor: ConnectionCursor | null | void ,
157
157
defaultOffset: number,
158
158
): number {
159
159
if ( typeof cursor !== 'string' ) {
Original file line number Diff line number Diff line change 1
1
import type {
2
2
GraphQLFieldConfig ,
3
+ GraphQLInterfaceType ,
3
4
GraphQLResolveInfo ,
4
5
GraphQLTypeResolver ,
5
6
} from 'graphql' ;
You can’t perform that action at this time.
0 commit comments