Skip to content

Commit

Permalink
use const type for static value
Browse files Browse the repository at this point in the history
  • Loading branch information
yuko1101 committed Mar 25, 2024
1 parent 830dec8 commit 94047fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/StatProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class StatProperty {
}

/** */
static ALL_DAMAGE_TYPES: StatPropertyType[] = ["PhysicalAddedRatio", "FireAddedRatio", "IceAddedRatio", "ThunderAddedRatio", "WindAddedRatio", "QuantumAddedRatio", "ImaginaryAddedRatio"];
static ALL_DAMAGE_TYPES = ["PhysicalAddedRatio", "FireAddedRatio", "IceAddedRatio", "ThunderAddedRatio", "WindAddedRatio", "QuantumAddedRatio", "ImaginaryAddedRatio"] as const;
}

export default StatProperty;
Expand Down

0 comments on commit 94047fa

Please sign in to comment.