We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd442ab + 0f3146a commit 02519bbCopy full SHA for 02519bb
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