diff options
Diffstat (limited to 'src/shared/styling.ts')
| -rw-r--r-- | src/shared/styling.ts | 2 |
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) { |
