Add type of this_chid

284bac9b49d3d7f93c4dba3d2b5031f6e531e126

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +4 -0Showing whitespace changes
public/script.js+4 -0
@@ -553,6 +553,10 @@ let generatedPromptCache = '';
553553let generation_started = new Date();
554554/** @type {import('./scripts/char-data.js').v1CharData[]} */
555555export let characters = [];
556+/**
557+ * Stringified index of a currently chosen entity in the characters array.
558+ * @type {string|undefined} Yes, we hate it as much as you do.
559+ */
556560export let this_chid;
557561let saveCharactersPage = 0;
558562export const default_avatar = 'img/ai4.png';