Skip to content

Commit 17e4fe1

Browse files
committed
Fix svelte-query-devtools types error
1 parent 2ac6638 commit 17e4fe1

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

packages/svelte-query-devtools/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"paths": {
3434
"@tanstack/query-core": ["../query-core/src"],
3535
"@tanstack/query-devtools": ["../query-devtools/src"],
36-
"@tanstack/svelte-query": ["../svelte-query/src"],
36+
"@tanstack/svelte-query": ["../svelte-query/src"]
3737
},
3838
"references": [
3939
{ "path": "../query-core" },

packages/svelte-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
],
3232
"scripts": {
3333
"clean": "rimraf ./build",
34-
"test:types": "svelte-check --tsconfig ./tsconfig.json",
34+
"test:types": "svelte-check --tsconfig ./tsconfig.json && tsc --emitDeclarationOnly --declaration --outDir build/lib",
3535
"test:eslint": "eslint --ext .svelte,.ts ./src",
3636
"test:lib": "vitest run --coverage",
3737
"test:lib:dev": "pnpm run test:lib --watch",

packages/svelte-query/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"lib": ["esnext", "DOM", "DOM.Iterable"],
1313
"moduleResolution": "node",
1414
"module": "esnext",
15-
"noEmit": true,
1615
"noImplicitAny": true,
1716
"noImplicitReturns": true,
1817
"noImplicitThis": true,

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
{ "path": "packages/react-query" },
1010
{ "path": "packages/react-query-devtools" },
1111
{ "path": "packages/react-query-persist-client" },
12+
{ "path": "packages/svelte-query" },
1213
{ "path": "packages/solid-query" },
1314
{ "path": "packages/vue-query" },
1415
{ "path": "packages/query-devtools" }

0 commit comments

Comments
 (0)