添加store

This commit is contained in:
zyronon
2023-08-04 18:47:16 +08:00
parent 4d72b95ece
commit 8a18bb53fd
6 changed files with 625 additions and 11 deletions

9
src/types.ts Normal file
View File

@@ -0,0 +1,9 @@
export type Config = {
newWords: Word[],
skipWords: Word[],
skipWordNames: string[],
dict: string,
chapterIndex: number,
wordIndex: number,
}
export type Word = {"name": string, "usphone": string, "ukphone": string, "trans": string[]}