aboutsummaryrefslogtreecommitdiff
path: root/api/word.ts
blob: d2df69e6fc646f9a3570b77856dc061ea7069c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Glossary from "./glossary.ts";
import APIBase from "./base.ts";

export default class Word extends APIBase {
  public writing: string = "TODO";
  public reading: string = "TODO";

  constructor() {
    super();
  }

  async glossary() {
    return new Glossary().withParent(await this.api);
  }
}