mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 21:46:49 +01:00
Add SillyTavern globals
This commit is contained in:
parent
406acb4312
commit
2bdc6f27cc
@ -55,6 +55,7 @@ module.exports = {
|
||||
isProbablyReaderable: 'readonly',
|
||||
ePub: 'readonly',
|
||||
diff_match_patch: 'readonly',
|
||||
SillyTavern: 'readonly',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
5
public/global.d.ts
vendored
5
public/global.d.ts
vendored
@ -14,6 +14,11 @@ declare var isProbablyReaderable;
|
||||
declare var ePub;
|
||||
declare var ai;
|
||||
|
||||
declare var SillyTavern: {
|
||||
getContext(): any;
|
||||
llm: any;
|
||||
};
|
||||
|
||||
// Jquery plugins
|
||||
interface JQuery {
|
||||
nanogallery2(options?: any): JQuery;
|
||||
|
Loading…
Reference in New Issue
Block a user