Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
server: Address self-review
Elian Doranb14065d4426d
diff --git a/src/services/code_block_theme.ts b/src/services/code_block_theme.tsindex 0126083fa3..2b0757e238 100644--- a/src/services/code_block_theme.ts+++ b/src/services/code_block_theme.ts@@ -22,7 +22,8 @@ interface ColorTheme {* Returns all the supported syntax highlighting themes for code blocks, in groups.** The return value is an object where the keys represent groups in their human-readable name (e.g. "Light theme")- * and the values are an array containing the information about every theme.+ * and the values are an array containing the information about every theme. There is also a special group with no+ * title (empty string) which should be displayed at the top of the listing pages, without a group.** @returns the supported themes, grouped.*/diff --git a/src/services/options_init.ts b/src/services/options_init.tsindex 17a9cccb19..dfac812f6e 100644--- a/src/services/options_init.ts+++ b/src/services/options_init.ts@@ -1,4 +1,5 @@-import optionService, { OptionMap } from "./options.js";+import optionService from "./options.js";+import type { OptionMap } from "./options.js";import appInfo from "./app_info.js";import utils from "./utils.js";import log from "./log.js";