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