From 920c4837acbba57fb1c51941770586c89436bc61 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Sun, 15 Jun 2025 22:58:32 +0530 Subject: Updated README.md + Some minor changes. --- src/shared/styling.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/styling.ts') diff --git a/src/shared/styling.ts b/src/shared/styling.ts index 3ec25c8..759fecb 100644 --- a/src/shared/styling.ts +++ b/src/shared/styling.ts @@ -1,4 +1,4 @@ -export const styles = (selector: string, styles: { [key: string]: string }) => { +export function styles(selector: string, styles: Record) { const elements = Array.from(document.querySelectorAll(selector)) as HTMLElement[]; for (const element of elements) { -- cgit v1.2.3