Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
refactor: add prettier-ignore to Key type def
Andrew Bastin560c6e0d6ab7
diff --git a/helpers/keybindings.ts b/helpers/keybindings.tsindex 04b8c8c25..9ff28d08b 100644--- a/helpers/keybindings.ts+++ b/helpers/keybindings.ts@@ -17,49 +17,13 @@ let keybindingsEnabled = truetype ModifierKeys = "ctrl" | "alt"/* eslint-disable prettier/prettier */+// prettier-ignoretype Key =- | "a"- | "b"- | "c"- | "d"- | "e"- | "f"- | "g"- | "h"- | "i"- | "j"- | "k"- | "l"- | "m"- | "n"- | "o"- | "p"- | "q"- | "r"- | "s"- | "t"- | "u"- | "v"- | "w"- | "x"- | "y"- | "z"- | "0"- | "1"- | "2"- | "3"- | "4"- | "5"- | "6"- | "7"- | "8"- | "9"- | "up"- | "down"- | "left"- | "right"- | "/"- | "?"+ | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j"+ | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t"+ | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "1" | "2" | "3"+ | "4" | "5" | "6" | "7" | "8" | "9" | "up" | "down" | "left"+ | "right" | "/" | "?"/* eslint-enable */type ModifierBasedShortcutKey = `${ModifierKeys}-${Key}`