From 0b10ff0594e285f56e7b17054d5c47bce5333f32 Mon Sep 17 00:00:00 2001 From: Sakura Knoll Date: Sat, 8 Jan 2022 21:57:49 +0900 Subject: [PATCH] Export methods to hide ts warning --- src/scripts/generate-ko-kr-md-files.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/generate-ko-kr-md-files.ts b/src/scripts/generate-ko-kr-md-files.ts index 6ac482a4..62f5b59c 100644 --- a/src/scripts/generate-ko-kr-md-files.ts +++ b/src/scripts/generate-ko-kr-md-files.ts @@ -8,7 +8,7 @@ import { listWeapons } from '../server/data/honkai3rd/weapons' const locale = 'ko-KR' -function generateStigmataData() { +export function generateStigmataData() { const stigmataList = listStigmata() stigmataList.forEach((stigmata) => { @@ -28,7 +28,7 @@ function generateStigmataData() { }) } -function generateStigmataSetData() { +export function generateStigmataSetData() { const stigmataSetList = listStigmataSet() stigmataSetList.forEach((stigmataSet) => { @@ -51,7 +51,7 @@ function generateStigmataSetData() { }) } -function generateWeaponData() { +export function generateWeaponData() { const weaponList = listWeapons() weaponList.forEach((weapon) => { @@ -72,7 +72,7 @@ function generateWeaponData() { }) } -function generateElfData() { +export function generateElfData() { const elfList = listElfs() elfList.forEach((elf) => {