Add types to move translations

pull/165/head
Flashfyre 2024-04-16 18:26:10 -04:00
parent b116828b07
commit 0758c44670
1 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,13 @@
export const move = { interface MoveTranslationEntry {
name: string,
effect: string
}
interface MoveTranslations {
[key: string]: MoveTranslationEntry
}
export const move: MoveTranslations = {
"pound": { "pound": {
name: "Pound", name: "Pound",
effect: "The target is physically pounded with a long tail, a foreleg, or the like." effect: "The target is physically pounded with a long tail, a foreleg, or the like."