Skip to content

Commit 1d67d07

Browse files
committed
Lol
1 parent 02b0011 commit 1d67d07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/runtime/src/plugins/useContentEncoding.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ 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
1415
return useOrigContentEncoding();
1516
}
1617
const compressionAlgorithm: CompressionFormat = 'gzip';
@@ -22,6 +23,7 @@ export function useContentEncoding<TContext extends Record<string, any>>({
2223
},
2324
onPluginInit({ addPlugin }) {
2425
addPlugin(
26+
// @ts-expect-error - Plugin types do not match
2527
useOrigContentEncoding(),
2628
);
2729
},

0 commit comments

Comments
 (0)