Skip to content

Commit b10980e

Browse files
committed
Fix typings
1 parent 2514ed2 commit b10980e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/runtime/src/plugins/useContentEncoding.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export function useContentEncoding<TContext extends Record<string, any>>({
1111
subgraphs,
1212
}: UseContentEncodingOpts = {}): GatewayPlugin<TContext> {
1313
if (!subgraphs?.length) {
14-
// @ts-expect-error - Return types are not compatible
1514
return useOrigContentEncoding();
1615
}
1716
const compressionAlgorithm: CompressionFormat = 'gzip';
@@ -23,7 +22,6 @@ export function useContentEncoding<TContext extends Record<string, any>>({
2322
},
2423
onPluginInit({ addPlugin }) {
2524
addPlugin(
26-
// @ts-expect-error - Plugin types do not match
2725
useOrigContentEncoding(),
2826
);
2927
},

0 commit comments

Comments
 (0)