We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38a6d97 commit 8e94c6bCopy full SHA for 8e94c6b
src/utils/DOMUtils.ts
@@ -1,4 +1,4 @@
1
-export const get = (selector: string, all: boolean = false) => all
+export const get = (selector: string, all?: boolean) => all
2
? document?.querySelectorAll(selector)
3
: document?.querySelector(selector)
4
0 commit comments