We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Node
1 parent cd442ab commit 0f3146aCopy full SHA for 0f3146a
1 file changed
src/bind.ts
@@ -70,7 +70,7 @@ interface Subscription {
70
* This returns a Subscription object which you can call `unsubscribe()` on to
71
* stop further live updates.
72
*/
73
-export function listenForBind(el = document, batchSize = 30): Subscription {
+export function listenForBind(el: Node = document, batchSize = 30): Subscription {
74
let closed = false
75
76
const observer = new MutationObserver(mutations => {
0 commit comments