File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { Kind } from '../../language/kinds.js';
10
10
import type { ASTVisitor } from '../../language/visitor.js' ;
11
11
12
12
import { collectFields } from '../../execution/collectFields.js' ;
13
+ import type { VariableValues } from '../../execution/values.js' ;
13
14
14
15
import type { ValidationContext } from '../ValidationContext.js' ;
15
16
@@ -31,9 +32,7 @@ export function SingleFieldSubscriptionsRule(
31
32
const subscriptionType = schema . getSubscriptionType ( ) ;
32
33
if ( subscriptionType ) {
33
34
const operationName = node . name ? node . name . value : null ;
34
- const variableValues : {
35
- [ variable : string ] : any ;
36
- } = Object . create ( null ) ;
35
+ const variableValues : VariableValues = Object . create ( null ) ;
37
36
const document = context . getDocument ( ) ;
38
37
const fragments : ObjMap < FragmentDefinitionNode > = Object . create ( null ) ;
39
38
for ( const definition of document . definitions ) {
You can’t perform that action at this time.
0 commit comments