aboutsummaryrefslogtreecommitdiff
path: root/examples/furigana-html.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/furigana-html.ts')
-rw-r--r--examples/furigana-html.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/furigana-html.ts b/examples/furigana-html.ts
index 5f59b4f..f0ff067 100644
--- a/examples/furigana-html.ts
+++ b/examples/furigana-html.ts
@@ -13,7 +13,7 @@ var api = new Yomikun(new DirectCoreClient());
var sentence = await api.sentence("日本に来て一番驚いたことは自動販売機の多さだ。");
// Copy the sentence verbatim but add furigana to each word's kanji
-var furigana = sentence.furigana({ format: "HTML" });
+var furigana = sentence.furigana("HTML");
console.log(furigana);