From b0ebb6c9d17f9f6f78bf13fd2a0ba89d83a7c2a8 Mon Sep 17 00:00:00 2001 From: Ollie H Date: Tue, 9 May 2023 12:55:44 -0700 Subject: Update web image editor (#588) * Update web image editor * Delete type-assertions.ts * Re-add getKeys * Uncomment rotation code * Revert "Uncomment rotation code" This reverts commit 6269f3b928c2e5cacaf5d0ff5323fe975ee48eab. * Shuffle dependencies and update mobile resolution * Update ImageEditor modal layout for mobile * Avoid accidental closes of the EditImage modal --------- Co-authored-by: Paul Frazee --- src/lib/type-assertions.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/lib/type-assertions.ts (limited to 'src/lib/type-assertions.ts') diff --git a/src/lib/type-assertions.ts b/src/lib/type-assertions.ts new file mode 100644 index 000000000..6b5db5124 --- /dev/null +++ b/src/lib/type-assertions.ts @@ -0,0 +1,3 @@ +export const getKeys = Object.keys as ( + obj: T, +) => Array -- cgit 1.4.1