mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add typehints for libs
This commit is contained in:
4
public/global.d.ts
vendored
4
public/global.d.ts
vendored
@@ -1,3 +1,5 @@
|
||||
import libs from './lib';
|
||||
|
||||
// Global namespace modules
|
||||
declare var ai;
|
||||
declare var pdfjsLib;
|
||||
@@ -6,7 +8,7 @@ declare var ePub;
|
||||
declare var SillyTavern: {
|
||||
getContext(): any;
|
||||
llm: any;
|
||||
libs: any;
|
||||
libs: typeof libs;
|
||||
};
|
||||
|
||||
// Jquery plugins
|
||||
|
Reference in New Issue
Block a user