@@ -962,7 +962,7 @@ export type GraphQLIsTypeOfFn<TSource, TContext> = (
962
962
export type GraphQLFieldResolver <
963
963
TSource ,
964
964
TContext ,
965
- TArgs = { [ argument : string ] : any } ,
965
+ TArgs = any ,
966
966
TResult = unknown ,
967
967
> = (
968
968
source : TSource ,
@@ -996,19 +996,11 @@ export interface GraphQLResolveInfo {
996
996
* We've provided these template arguments because this is an open type and
997
997
* you may find them useful.
998
998
*/
999
- export interface GraphQLFieldExtensions <
1000
- _TSource ,
1001
- _TContext ,
1002
- _TArgs = { [ argName : string ] : any } ,
1003
- > {
999
+ export interface GraphQLFieldExtensions < _TSource , _TContext , _TArgs = any > {
1004
1000
[ attributeName : string ] : unknown ;
1005
1001
}
1006
1002
1007
- export interface GraphQLFieldConfig <
1008
- TSource ,
1009
- TContext ,
1010
- TArgs = { [ argument : string ] : any } ,
1011
- > {
1003
+ export interface GraphQLFieldConfig < TSource , TContext , TArgs = any > {
1012
1004
description ?: Maybe < string > ;
1013
1005
type : GraphQLOutputType ;
1014
1006
args ?: GraphQLFieldConfigArgumentMap ;
@@ -1049,11 +1041,7 @@ export type GraphQLFieldConfigMap<TSource, TContext> = ObjMap<
1049
1041
GraphQLFieldConfig < TSource , TContext >
1050
1042
> ;
1051
1043
1052
- export interface GraphQLField <
1053
- TSource ,
1054
- TContext ,
1055
- TArgs = { [ argument : string ] : any } ,
1056
- > {
1044
+ export interface GraphQLField < TSource , TContext , TArgs = any > {
1057
1045
name : string ;
1058
1046
description : Maybe < string > ;
1059
1047
type : GraphQLOutputType ;
0 commit comments