diff --git a/.changeset/many-dingos-help.md b/.changeset/many-dingos-help.md new file mode 100644 index 0000000000000..bf15f5ccf2c52 --- /dev/null +++ b/.changeset/many-dingos-help.md @@ -0,0 +1,5 @@ +--- +'@graphql-mesh/serve-cli': patch +--- + +Fix typings for `cache` definition diff --git a/packages/serve-cli/src/cli.ts b/packages/serve-cli/src/cli.ts index 8ab63c157d019..7ecca4647f75d 100644 --- a/packages/serve-cli/src/cli.ts +++ b/packages/serve-cli/src/cli.ts @@ -42,7 +42,8 @@ export type GatewayCLIConfig = ( pollingInterval?: number; } & GatewayCLIBuiltinPluginConfig; -export interface GatewayCLISupergraphConfig extends Omit { +export interface GatewayCLISupergraphConfig + extends Omit { /** * SDL, path or an URL to the Federation Supergraph. * @@ -54,7 +55,8 @@ export interface GatewayCLISupergraphConfig extends Omit { +export interface GatewayCLISubgraphConfig + extends Omit { /** * SDL, path or an URL to the Federation Supergraph. * @@ -66,7 +68,7 @@ export interface GatewayCLISubgraphConfig extends Omit { +export interface GatewayCLIProxyConfig extends Omit { /** * HTTP executor to proxy all incoming requests to another HTTP endpoint. */