This commit is contained in:
harukin-expo-dev-env
2025-01-22 12:03:50 +00:00
parent 294b95967f
commit 892d567991
8 changed files with 26 additions and 27 deletions

View File

@@ -0,0 +1,7 @@
// Description: 電車名の変換を行う。
// マリンライナーやマリン表記をマリンライナーに変換する。
export const migrateTrainName = (string:string) => {
return string
.replace("マリン", "マリンライナー")
.replace("ライナーライナー", "ライナー");
};