Skip to content

Commit

Permalink
remove unnecessary generic params
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed May 27, 2021
1 parent 156b1f1 commit 18bbba2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/delegate/src/applySchemaTransforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { cloneSchema } from '@graphql-tools/utils';

import { SubschemaConfig } from './types';

export function applySchemaTransforms<TContext = Record<string, any>>(
export function applySchemaTransforms(
originalWrappingSchema: GraphQLSchema,
subschemaConfig: SubschemaConfig<any, any, any, TContext>,
subschemaConfig: SubschemaConfig<any, any, any, any>,
transformedSchema?: GraphQLSchema
): GraphQLSchema {
const schemaTransforms = subschemaConfig.transforms;
Expand Down
2 changes: 1 addition & 1 deletion packages/wrap/src/wrapSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { MapperKind, mapSchema } from '@graphql-tools/utils';
import { SubschemaConfig, defaultMergedResolver, applySchemaTransforms } from '@graphql-tools/delegate';
import { generateProxyingResolvers } from './generateProxyingResolvers';

export function wrapSchema<TContext>(subschemaConfig: SubschemaConfig<any, any, any, TContext>): GraphQLSchema {
export function wrapSchema(subschemaConfig: SubschemaConfig<any, any, any, any>): GraphQLSchema {
const targetSchema = subschemaConfig.schema;

const proxyingResolvers = generateProxyingResolvers(subschemaConfig);
Expand Down

0 comments on commit 18bbba2

Please sign in to comment.