Add type of this_chid

284bac9b49d3d7f93c4dba3d2b5031f6e531e126

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

1 files changed, +4 -0Ignore whitespace
public/script.js+4 -0
@@ -553,6 +553,10 @@ let generatedPromptCache = '';
553let generation_started = new Date();553let generation_started = new Date();
554/** @type {import('./scripts/char-data.js').v1CharData[]} */554/** @type {import('./scripts/char-data.js').v1CharData[]} */
555export let characters = [];555export 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 */
556export let this_chid;560export let this_chid;
557let saveCharactersPage = 0;561let saveCharactersPage = 0;
558export const default_avatar = 'img/ai4.png';562export const default_avatar = 'img/ai4.png';