From 0758c44670a9df84a80bf5b52333a6d3e258d3c7 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 16 Apr 2024 18:26:10 -0400 Subject: [PATCH] Add types to move translations --- src/locales/en/move.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/locales/en/move.ts b/src/locales/en/move.ts index c111fcc45..b17d1ef37 100644 --- a/src/locales/en/move.ts +++ b/src/locales/en/move.ts @@ -1,4 +1,13 @@ -export const move = { +interface MoveTranslationEntry { + name: string, + effect: string +} + +interface MoveTranslations { + [key: string]: MoveTranslationEntry +} + +export const move: MoveTranslations = { "pound": { name: "Pound", effect: "The target is physically pounded with a long tail, a foreleg, or the like."