diff --git a/lib/utils/types.dart b/lib/utils/types.dart index f769297..3627870 100644 --- a/lib/utils/types.dart +++ b/lib/utils/types.dart @@ -13,6 +13,7 @@ enum HeroKey { echo, genji, hanzo, + hazard, illari, juno, junkrat, diff --git a/test.ts b/test.ts deleted file mode 100644 index 96359b1..0000000 --- a/test.ts +++ /dev/null @@ -1,47 +0,0 @@ -type HEROES_KEYS = - | "ana" - | "ashe" - | "baptiste" - | "bastion" - | "brigitte" - | "cassidy" - | "dva" - | "doomfist" - | "echo" - | "genji" - | "hanzo" - | "junker-queen" - | "junkrat" - | "kiriko" - | "lucio" - | "mei" - | "mercy" - | "moira" - | "orisa" - | "pharah" - | "ramattra" - | "reaper" - | "reinhardt" - | "roadhog" - | "sigma" - | "sojourn" - | "soldier-76" - | "sombra" - | "symmetra" - | "torbjorn" - | "tracer" - | "widowmaker" - | "winston" - | "wrecking-ball" - | "zarya" - | "zenyatta"; - -type NEW_HEROES_KEYS = T extends HEROES_KEYS - ? HEROES_KEYS - : T | HEROES_KEYS; - -function fn(key: NEW_HEROES_KEYS) { - console.log(key); -} - -// fn('') \ No newline at end of file