diff options
author | Ollie H <renahlee@outlook.com> | 2023-05-09 12:55:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 14:55:44 -0500 |
commit | b0ebb6c9d17f9f6f78bf13fd2a0ba89d83a7c2a8 (patch) | |
tree | 45e68261fe810ea19a1aec76674c1091faa00fb8 /src/lib/type-assertions.ts | |
parent | 8f6b5d3df9b5a5bb61514497f3f25289513ef119 (diff) | |
download | voidsky-b0ebb6c9d17f9f6f78bf13fd2a0ba89d83a7c2a8.tar.zst |
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 <pfrazee@gmail.com>
Diffstat (limited to 'src/lib/type-assertions.ts')
-rw-r--r-- | src/lib/type-assertions.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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 <T extends object>( + obj: T, +) => Array<keyof T> |