Add typehints for libs

This commit is contained in:
Cohee 2024-10-17 21:18:34 +03:00
parent 2620522333
commit 33f8cd4241

4
public/global.d.ts vendored
View File

@ -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