Skip to content

Commit f6a6584

Browse files
committed
Fix TS
1 parent 11fddf2 commit f6a6584

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/loaders/json-schema/src/addExecutionLogicToComposer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import lodashSet from 'lodash.set';
2424
import { stringInterpolator } from '@graphql-mesh/string-interpolation';
2525
import { process } from '@graphql-mesh/cross-helpers';
2626
import { getHeadersObj, MeshFetch } from '@graphql-mesh/utils';
27-
import { getContainerTC } from './getUnionTypeComposers';
2827

2928
export interface AddExecutionLogicToComposerOptions {
3029
schemaComposer: SchemaComposer;
@@ -505,7 +504,7 @@ ${operationConfig.description || ''}
505504
name: `${operationConfig.field}_${statusCode}_response`,
506505
fields: {
507506
[originalName]: {
508-
type: typeTC,
507+
type: typeTC as any,
509508
resolve: root => root,
510509
},
511510
},

0 commit comments

Comments
 (0)