aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/styling.ts
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-15 22:58:32 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-15 22:58:32 +0530
commit920c4837acbba57fb1c51941770586c89436bc61 (patch)
treeadab786c0b6ef869ee7c062bb3affdda7b43ace3 /src/shared/styling.ts
parent8b7f56048cb8dce1cd41225a059b82b1e782299b (diff)
downloadbanglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.tar.gz
banglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.zip
Updated README.md + Some minor changes.
Diffstat (limited to 'src/shared/styling.ts')
-rw-r--r--src/shared/styling.ts2
1 files changed, 1 insertions, 1 deletions
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<string, string>) {
const elements = Array.from(document.querySelectorAll(selector)) as HTMLElement[];
for (const element of elements) {