diff --git a/packages/gateway/src/commands/proxy.ts b/packages/gateway/src/commands/proxy.ts index 6eb2f10e5..12c9f4904 100644 --- a/packages/gateway/src/commands/proxy.ts +++ b/packages/gateway/src/commands/proxy.ts @@ -8,7 +8,6 @@ import { defaultOptions, type AddCommand, type CLIContext, - type CLIGlobals, type GatewayCLIConfig, } from '../cli'; import { @@ -40,7 +39,7 @@ export const addCommand: AddCommand = (ctx, cli) => hivePersistedDocumentsEndpoint, hivePersistedDocumentsToken, ...opts - } = this.optsWithGlobals(); + } = this.optsWithGlobals(); const loadedConfig = await loadConfig({ log: ctx.log, configPath: opts.configPath, diff --git a/packages/gateway/src/commands/subgraph.ts b/packages/gateway/src/commands/subgraph.ts index 1b21a3105..5191358a2 100644 --- a/packages/gateway/src/commands/subgraph.ts +++ b/packages/gateway/src/commands/subgraph.ts @@ -12,7 +12,6 @@ import { defaultOptions, type AddCommand, type CLIContext, - type CLIGlobals, type GatewayCLIConfig, } from '../cli'; import { @@ -41,7 +40,7 @@ export const addCommand: AddCommand = (ctx, cli) => hivePersistedDocumentsEndpoint, hivePersistedDocumentsToken, ...opts - } = this.optsWithGlobals(); + } = this.optsWithGlobals(); const loadedConfig = await loadConfig({ log: ctx.log, configPath: opts.configPath, diff --git a/packages/gateway/src/commands/supergraph.ts b/packages/gateway/src/commands/supergraph.ts index 2c3183d5e..fdec961b5 100644 --- a/packages/gateway/src/commands/supergraph.ts +++ b/packages/gateway/src/commands/supergraph.ts @@ -18,7 +18,6 @@ import { defaultOptions, type AddCommand, type CLIContext, - type CLIGlobals, type GatewayCLIConfig, } from '../cli'; import { @@ -57,7 +56,7 @@ export const addCommand: AddCommand = (ctx, cli) => hivePersistedDocumentsEndpoint, hivePersistedDocumentsToken, ...opts - } = this.optsWithGlobals(); + } = this.optsWithGlobals(); // TODO: move to optsWithGlobals once https://github.com/commander-js/extra-typings/pull/76 is merged const { apolloUplink } = this.opts();