mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add type of this_chid
This commit is contained in:
@ -553,6 +553,10 @@ let generatedPromptCache = '';
|
|||||||
let generation_started = new Date();
|
let generation_started = new Date();
|
||||||
/** @type {import('./scripts/char-data.js').v1CharData[]} */
|
/** @type {import('./scripts/char-data.js').v1CharData[]} */
|
||||||
export let characters = [];
|
export let characters = [];
|
||||||
|
/**
|
||||||
|
* Stringified index of a currently chosen entity in the characters array.
|
||||||
|
* @type {string|undefined} Yes, we hate it as much as you do.
|
||||||
|
*/
|
||||||
export let this_chid;
|
export let this_chid;
|
||||||
let saveCharactersPage = 0;
|
let saveCharactersPage = 0;
|
||||||
export const default_avatar = 'img/ai4.png';
|
export const default_avatar = 'img/ai4.png';
|
||||||
|
Reference in New Issue
Block a user