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 55 "scripts" : {
66 "build" : " svelte-package --input ./src --output ./dist" ,
77 "test" : " npx vitest --run" ,
8+ "test:types" : " svelte-check --tsconfig ./tsconfig.json" ,
89 "lint" : " eslint . --fix"
910 },
1011 "files" : [
Original file line number Diff line number Diff line change @@ -245,15 +245,15 @@ export function useLiveQuery(
245245 typeof unwrappedParam . id === `string`
246246
247247 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
249249 unwrappedParam . startSyncImmediate ( )
250250 return unwrappedParam
251251 }
252252
253253 // Reference deps to make computed reactive to them
254254 deps . forEach ( ( dep ) => toValue ( dep ) )
255255
256- // Ensure we always start sync for Vue hooks
256+ // Ensure we always start sync for Svelte helpers
257257 if ( typeof unwrappedParam === `function` ) {
258258 return createLiveQueryCollection ( {
259259 query : unwrappedParam ,
You can’t perform that action at this time.
0 commit comments