Add typehints for libs

This commit is contained in:
Cohee 2024-10-17 21:18:34 +03:00
parent 2620522333
commit 33f8cd4241
1 changed files with 3 additions and 1 deletions

4
public/global.d.ts vendored
View File

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