File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"build" : " svelte-package --input ./src --output ./dist" ,
7
7
"test" : " npx vitest --run" ,
8
+ "test:types" : " svelte-check --tsconfig ./tsconfig.json" ,
8
9
"lint" : " eslint . --fix"
9
10
},
10
11
"files" : [
Original file line number Diff line number Diff line change @@ -245,15 +245,15 @@ export function useLiveQuery(
245
245
typeof unwrappedParam . id === `string`
246
246
247
247
if ( isCollection ) {
248
- // It's already a collection, ensure sync is started for Vue hooks
248
+ // It's already a collection, ensure sync is started for Svelte helpers
249
249
unwrappedParam . startSyncImmediate ( )
250
250
return unwrappedParam
251
251
}
252
252
253
253
// Reference deps to make computed reactive to them
254
254
deps . forEach ( ( dep ) => toValue ( dep ) )
255
255
256
- // Ensure we always start sync for Vue hooks
256
+ // Ensure we always start sync for Svelte helpers
257
257
if ( typeof unwrappedParam === `function` ) {
258
258
return createLiveQueryCollection ( {
259
259
query : unwrappedParam ,
You can’t perform that action at this time.
0 commit comments