server: Address self-review

This commit is contained in:
Elian Doran 2024-11-02 01:42:25 +02:00
parent 1554e25283
commit b14065d442
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -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.
*/

View File

@ -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";