From f6922c654e20d8b69366e44f100e079a1618a2c7 Mon Sep 17 00:00:00 2001 From: Stefan Vukovic Date: Sun, 24 Dec 2023 23:05:13 +0100 Subject: [PATCH] fix comments --- ext/js/display/display-generator.js | 2 +- types/ext/dictionary-database.d.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js index 5ad1445e5d..de1321186c 100644 --- a/ext/js/display/display-generator.js +++ b/ext/js/display/display-generator.js @@ -1007,7 +1007,7 @@ export class DisplayGenerator { for (const termPronunciation of termPronunciations) { if (termPronunciation.headwordIndex !== headwordIndex) { continue; } for (const pronunciation of termPronunciation.pronunciations) { - if (pronunciation.type !== 'pitch-accent'){ continue; } + if (pronunciation.type !== 'pitch-accent') { continue; } const category = this._japaneseUtil.getPitchCategory(reading, pronunciation.position, isVerbOrAdjective); if (category !== null) { categories.add(category); diff --git a/types/ext/dictionary-database.d.ts b/types/ext/dictionary-database.d.ts index 876ca5159a..f1d01e0d44 100644 --- a/types/ext/dictionary-database.d.ts +++ b/types/ext/dictionary-database.d.ts @@ -158,7 +158,6 @@ export type TermMetaPhonetic = { dictionary: string; }; - export type DatabaseKanjiMeta = DatabaseKanjiMetaFrequency; export type DatabaseKanjiMetaFrequency = {