Add deriveEvent

This commit is contained in:
Jon Staab
2024-09-04 16:52:08 -07:00
parent eb1a219ca5
commit 89e1569359
2 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ export const adapter = <Source, Target>({
})
export const throttled = <T>(delay: number, store: Readable<T>) =>
custom(set => store.subscribe(throttle(delay, set)))
custom<T>(set => store.subscribe(throttle(delay, set)))
// Event related stores