diff --git a/.changeset/funny-lines-visit.md b/.changeset/funny-lines-visit.md new file mode 100644 index 0000000000..652a4952bd --- /dev/null +++ b/.changeset/funny-lines-visit.md @@ -0,0 +1,5 @@ +--- +'@tanstack/vue-query-devtools': patch +--- + +fix: style prop type diff --git a/packages/vue-query-devtools/src/types.ts b/packages/vue-query-devtools/src/types.ts index 67dd9a2755..f5057ab70a 100644 --- a/packages/vue-query-devtools/src/types.ts +++ b/packages/vue-query-devtools/src/types.ts @@ -74,7 +74,7 @@ export interface DevtoolsPanelOptions { * @example { height: '100%' } * @example { height: '100%', width: '100%' } */ - style?: React.CSSProperties + style?: Partial /** * Callback function that is called when the devtools panel is closed diff --git a/tsconfig.json b/tsconfig.json index cb304f02b6..22bbf5db63 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,7 +26,8 @@ "resolveJsonModule": true, "skipLibCheck": true, "strict": true, - "target": "ES2020" + "target": "ES2020", + "types": ["node"] }, "include": ["*.config.*"] }