mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Create char-data.js for type hint (#2209)
* Create char-data.js for type hint
code from 7df0d1e06d/src/charData.mjs
* add hint
* fixes
* `class` -> JSdoc typedef by AI
* use `import`
* `v2DataWorldInfo`
* Rename book typedef
* Fix type errors
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
@@ -463,6 +463,7 @@ let currentVersion = '0.0.0';
|
||||
export const default_ch_mes = 'Hello';
|
||||
let generatedPromptCache = '';
|
||||
let generation_started = new Date();
|
||||
/** @type {import('scripts/char-data.js').v1CharData[]} */
|
||||
export let characters = [];
|
||||
export let this_chid;
|
||||
let saveCharactersPage = 0;
|
||||
|
Reference in New Issue
Block a user