Skip to content

Commit

Permalink
Rename DevtoolsOptions to DevtoolsConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 10, 2024
1 parent b858198 commit 9d74e32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/ApolloClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface DefaultOptions {
mutate?: Partial<MutationOptions<any, any, any>>;
}

export interface DevtoolsOptions {
export interface DevtoolsConfig {
/**
* If `true`, the [Apollo Client Devtools](https://www.apollographql.com/docs/react/development-testing/developer-tooling/#apollo-client-devtools) browser extension can connect to this `ApolloClient` instance.
*
Expand Down Expand Up @@ -143,7 +143,7 @@ export interface ApolloClientOptions<TCacheShape> {
*
* @since 3.11.0
*/
devtools?: DevtoolsOptions;
devtools?: DevtoolsConfig;
}

// Though mergeOptions now resides in @apollo/client/utilities, it was
Expand Down Expand Up @@ -172,7 +172,7 @@ export class ApolloClient<TCacheShape> implements DataProxy {
public queryDeduplication: boolean;
public defaultOptions: DefaultOptions;
public readonly typeDefs: ApolloClientOptions<TCacheShape>["typeDefs"];
public readonly devtoolsConfig: DevtoolsOptions;
public readonly devtoolsConfig: DevtoolsConfig;

private queryManager: QueryManager<TCacheShape>;
private devToolsHookCb?: Function;
Expand Down

0 comments on commit 9d74e32

Please sign in to comment.