Describe the bug
injectDevtoolsPanel doesn't accept a theme option. withDevtools and the React/Preact/Solid/Vue panels all support it.
I think it was missed in #10609, which added theme only to the floating Angular devtools.
Your minimal, reproducible example
injectDevtoolsPanel(() => ({
hostElement: this.divEl(),
theme: 'dark', // TS error: 'theme' does not exist in type 'DevtoolsPanelOptions'
}))
Steps to reproduce
- Use
injectDevtoolsPanel
- Pass
theme: 'dark'
- Get a type error, and the theme is not applied
Expected behavior
injectDevtoolsPanel accepts theme like withDevtools does. I can send a PR for this.
Platform
Tanstack Query adapter
angular-query
TanStack Query version
5.104.0 (also current main)
Describe the bug
injectDevtoolsPaneldoesn't accept athemeoption.withDevtoolsand the React/Preact/Solid/Vue panels all support it.I think it was missed in #10609, which added
themeonly to the floating Angular devtools.Your minimal, reproducible example
Steps to reproduce
injectDevtoolsPaneltheme: 'dark'Expected behavior
injectDevtoolsPanelacceptsthemelikewithDevtoolsdoes. I can send a PR for this.Platform
Tanstack Query adapter
angular-query
TanStack Query version
5.104.0 (also current main)