From 40204f04a13c40974d446d7a6e038039ce2501a2 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Thu, 28 May 2026 11:26:51 +0200 Subject: [PATCH] chore: format small utility files --- static/q.ts | 2 +- static/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/q.ts b/static/q.ts index 3989724..6dca0eb 100644 --- a/static/q.ts +++ b/static/q.ts @@ -13,4 +13,4 @@ export const qs = (selector: string): T | null => /** * Get a data attribute value from an element, defaults to empty string. */ -export const dataset = (el: HTMLElement, key: string): string => el.dataset[key] ?? ''; +export const dataset = (el: HTMLElement, key: string): string => el.dataset[key] ?? ""; diff --git a/static/utils.ts b/static/utils.ts index ce7ca15..b82451d 100644 --- a/static/utils.ts +++ b/static/utils.ts @@ -7,7 +7,7 @@ export const parseClassList = (value: string | null): string[] => { } return value - .split(' ') + .split(" ") .map((entry: string): string => entry.trim()) .filter((entry: string): boolean => entry.length > 0); };