重构
This commit is contained in:
11
src/shared/dictionary-type.ts
Normal file
11
src/shared/dictionary-type.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export type TSharedEntry = {
|
||||
definition: string,
|
||||
example: string,
|
||||
partOfSpeech?: string;
|
||||
ipa?: string;
|
||||
};
|
||||
|
||||
export type TSharedItem = {
|
||||
standardForm: string,
|
||||
entries: TSharedEntry[];
|
||||
};
|
||||
3
src/shared/folder-related-type.ts
Normal file
3
src/shared/folder-related-type.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export type TSharedPair = {
|
||||
|
||||
};
|
||||
1
src/shared/index.ts
Normal file
1
src/shared/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './dictionary-type';
|
||||
Reference in New Issue
Block a user