File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 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';
1010import type { ASTVisitor } from '../../language/visitor.js' ;
1111
1212import { collectFields } from '../../execution/collectFields.js' ;
13+ import type { VariableValues } from '../../execution/values.js' ;
1314
1415import type { ValidationContext } from '../ValidationContext.js' ;
1516
@@ -31,9 +32,7 @@ export function SingleFieldSubscriptionsRule(
3132 const subscriptionType = schema . getSubscriptionType ( ) ;
3233 if ( subscriptionType ) {
3334 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 ) ;
3736 const document = context . getDocument ( ) ;
3837 const fragments : ObjMap < FragmentDefinitionNode > = Object . create ( null ) ;
3938 for ( const definition of document . definitions ) {
You can’t perform that action at this time.
0 commit comments