From 3fbd6a67effa6f552ddad2345b10fdc64687108a Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Mon, 27 Nov 2023 21:55:20 +0800 Subject: [PATCH] update --- web/src/store/modules/prompt/helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/store/modules/prompt/helper.ts b/web/src/store/modules/prompt/helper.ts index e673ba20..53c67137 100644 --- a/web/src/store/modules/prompt/helper.ts +++ b/web/src/store/modules/prompt/helper.ts @@ -103,7 +103,7 @@ const defaultChinesePromptList: PromptList = [ }, ] -let defaultEnglishPromptList = [ +let defaultEnglishPromptList: PromptList = [ { "key": "Act as an English Translator and Improver", @@ -124,7 +124,7 @@ let defaultEnglishPromptList = [ ] -const defaultPromptMap = { +let defaultPromptMap: { [key: string]: Prompt[] } = { 'zh-CN': defaultChinesePromptList, 'zh-TW': defaultChinesePromptList, 'en-US': defaultEnglishPromptList,