From 61ba9fd1f62cb959f197cf95c2686809318c6482 Mon Sep 17 00:00:00 2001 From: Pauline Date: Mon, 22 Jan 2024 03:30:30 +0100 Subject: chore(deps): bump and format --- packages/ui/src/keys.ts | 4 ++-- packages/ui/src/utils.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/ui/src') diff --git a/packages/ui/src/keys.ts b/packages/ui/src/keys.ts index bb8eaa4..c752ccc 100644 --- a/packages/ui/src/keys.ts +++ b/packages/ui/src/keys.ts @@ -34,7 +34,7 @@ export type OSforKeys = 'macOS' | 'Windows' | 'Other'; export const modifierSymbols: Record< ModifierKeys | EditingKeys | UIKeys | NavigationKeys, - { macOS?: string, Windows?: string, Other: string } + { macOS?: string; Windows?: string; Other: string } > = { Alt: { macOS: '⌥', Other: 'Alt' }, AltGraph: { macOS: '⌥', Other: 'Alt' }, @@ -57,7 +57,7 @@ export const modifierSymbols: Record< ArrowRight: { Other: '→' }, }; -export const keySymbols: Record = { +export const keySymbols: Record = { ' ': { Other: '␣' }, 'Tab': { macOS: '⇥', Other: '⭾' }, 'Enter': { macOS: '↩', Other: '↵' }, diff --git a/packages/ui/src/utils.tsx b/packages/ui/src/utils.tsx index 67782bb..e4e2f10 100644 --- a/packages/ui/src/utils.tsx +++ b/packages/ui/src/utils.tsx @@ -19,7 +19,7 @@ type TailwindFactory = { React.ForwardRefExoticComponent >; } & { - (c: T): ClassnameFactory + (c: T): ClassnameFactory; }; export const tw = new Proxy((() => {}) as unknown as TailwindFactory, { -- cgit