Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Aug 6, 2024
1 parent d35dc44 commit c1cad41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/rx/src/Rx.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-empty-object-type */
/**
* @since 1.0.0
*/
Expand Down Expand Up @@ -1232,7 +1233,7 @@ export const debounce: {
get.setSelfSync(get.once(self))
}
get.addFinalizer(function() {
timeout && clearTimeout(timeout)
if (timeout) clearTimeout(timeout)
})
get.subscribe(self, function(val) {
value = val
Expand Down

0 comments on commit c1cad41

Please sign in to comment.