mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 17:07:07 +01:00
Add typehints for libs
This commit is contained in:
parent
2620522333
commit
33f8cd4241
4
public/global.d.ts
vendored
4
public/global.d.ts
vendored
@ -1,3 +1,5 @@
|
|||||||
|
import libs from './lib';
|
||||||
|
|
||||||
// Global namespace modules
|
// Global namespace modules
|
||||||
declare var ai;
|
declare var ai;
|
||||||
declare var pdfjsLib;
|
declare var pdfjsLib;
|
||||||
@ -6,7 +8,7 @@ declare var ePub;
|
|||||||
declare var SillyTavern: {
|
declare var SillyTavern: {
|
||||||
getContext(): any;
|
getContext(): any;
|
||||||
llm: any;
|
llm: any;
|
||||||
libs: any;
|
libs: typeof libs;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Jquery plugins
|
// Jquery plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user