From 7ff124cf02447ee212ab639529025043d616986b Mon Sep 17 00:00:00 2001 From: Frontendland Date: Thu, 12 Dec 2024 16:15:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Make=20get=20second=20p?= =?UTF-8?q?arameter=20optional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/utilityTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utilityTypes.js b/scripts/utilityTypes.js index 7712ce2..3f81c27 100644 --- a/scripts/utilityTypes.js +++ b/scripts/utilityTypes.js @@ -138,7 +138,7 @@ declare module 'webcoreui' { cancel: () => void } - export const get: (selector: string, all: boolean) => Element | NodeListOf | null + export const get: (selector: string, all?: boolean) => Element | NodeListOf | null export const on: ( selector: string | HTMLElement | Document, event: string,