diff --git a/src/becca/becca_loader.ts b/src/becca/becca_loader.ts index 507828ad5..b7ea941c8 100644 --- a/src/becca/becca_loader.ts +++ b/src/becca/becca_loader.ts @@ -20,7 +20,7 @@ const beccaLoaded = new Promise((res, rej) => { cls.init(() => { load(); - require('../services/options_init.js').initStartupOptions(); + require('../services/options_init').initStartupOptions(); res(); }); diff --git a/src/services/search/expressions/note_content_fulltext.ts b/src/services/search/expressions/note_content_fulltext.ts index 6cae689d1..ada9705a2 100644 --- a/src/services/search/expressions/note_content_fulltext.ts +++ b/src/services/search/expressions/note_content_fulltext.ts @@ -137,7 +137,7 @@ class NoteContentFulltextExp extends Expression { return content.trim(); } - stripTags(content) { + stripTags(content: string) { // we want to allow link to preserve URLs: https://github.com/zadam/trilium/issues/2412 // we want to insert space in place of block tags (because they imply text separation) // but we don't want to insert text for typical formatting inline tags which can occur within one word