change to vite and enabled typescript

This commit is contained in:
cast1e
2025-03-06 22:25:09 +08:00
parent 9ad162a5b9
commit aea4b310b7
38 changed files with 11086 additions and 12911 deletions
+25
View File
@@ -0,0 +1,25 @@
export interface HistoryItem {
localsets: string[];
onlinesets: any[];
settings: {
shuffle: boolean;
seed?: number;
ignore_phrases?: boolean;
[key: string]: any;
};
current: number;
modified: number;
total?: number;
}
export interface WordItem {
type: string;
word: string;
trans: string
}
export interface WordSetInfo {
name: string;
id: string;
created: number;
}