Skip to content

Commit

Permalink
definition.d.ts: correct types (#3129)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 24, 2021
1 parent 82a9a6c commit f1f3d8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/type/definition.d.ts
Expand Up @@ -354,7 +354,7 @@ export class GraphQLObjectType<TSource = any, TContext = any> {
astNode: Maybe<ObjectTypeDefinitionNode>;
extensionASTNodes: ReadonlyArray<ObjectTypeExtensionNode>;
constructor(config: Readonly<GraphQLObjectTypeConfig<TSource, TContext>>);
getFields(): GraphQLFieldMap<any, TContext>;
getFields(): GraphQLFieldMap<TSource, TContext>;
getInterfaces(): Array<GraphQLInterfaceType>;
toConfig(): GraphQLObjectTypeConfig<any, any> & {
interfaces: Array<GraphQLInterfaceType>;
Expand Down Expand Up @@ -795,7 +795,7 @@ export interface GraphQLInputObjectTypeConfig {
* an object which can contain all the values you need.
*/
export interface GraphQLInputFieldExtensions {
[attributeName: string]: any;
[attributeName: string]: unknown;
}
export interface GraphQLInputFieldConfig {
description?: Maybe<string>;
Expand Down

0 comments on commit f1f3d8e

Please sign in to comment.