aboutsummaryrefslogtreecommitdiff
path: root/language/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'language/types.ts')
-rw-r--r--language/types.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/language/types.ts b/language/types.ts
index 1aeb9da..d3585f8 100644
--- a/language/types.ts
+++ b/language/types.ts
@@ -5,11 +5,6 @@ export enum ParseDepth {
Glossary,
};
-export interface TokenReading {
- text: string;
- ruby?: string;
-};
-
export interface GlossaryDefinition {
};
@@ -20,7 +15,8 @@ export interface Glossary {
};
export interface ParseToken {
- reading: TokenReading[];
+ writing: string;
+ reading: string;
tags: TokenTags;
glossary?: Glossary;
term_id: number;