File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class GraphQLError extends Error {
5656 source ? : Source ,
5757 positions ? : number [],
5858 originalError ? : Error ,
59- extensions ? : { [ key : string ] : mixed } ,
59+ extensions ? : Record < string , unknown > ,
6060 );
6161}
6262```
Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ to be removed in v17.
7171export function execute(
7272 schema : GraphQLSchema ,
7373 documentAST : Document ,
74- rootValue ? : mixed ,
75- contextValue ? : mixed ,
76- variableValues ? : { [ key : string ] : mixed } ,
74+ rootValue ? : unknown ,
75+ contextValue ? : unknown ,
76+ variableValues ? : Record < string , unknown > ,
7777 operationName ? : string ,
7878): MaybePromise <ExecutionResult >;
7979```
@@ -138,9 +138,9 @@ to be removed in v17.
138138export function executeSync(
139139 schema : GraphQLSchema ,
140140 documentAST : Document ,
141- rootValue ? : mixed ,
142- contextValue ? : mixed ,
143- variableValues ? : { [ key : string ] : mixed } ,
141+ rootValue ? : unknown ,
142+ contextValue ? : unknown ,
143+ variableValues ? : Record < string , unknown > ,
144144 operationName ? : string ,
145145): ExecutionResult ;
146146```
You can’t perform that action at this time.
0 commit comments