Skip to content

Commit 8a12964

Browse files
committed
fix: allow the config prop to only contain some of the config
It is merged with the initial settings from the store, so the user can only provide the settings they want to override.
1 parent 6d30053 commit 8a12964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools/src/devtools.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export interface TanStackDevtoolsReactInit {
8282
* initial state of the devtools when it is started for the first time. Afterwards,
8383
* the settings are persisted in local storage and changed through the settings panel.
8484
*/
85-
config?: TanStackDevtoolsConfig
85+
config?: Partial<TanStackDevtoolsConfig>
8686
}
8787

8888
const convertRender = (

0 commit comments

Comments
 (0)