Fix global.d.ts var declarations

This commit is contained in:
Cohee
2025-03-12 20:54:07 +02:00
parent c9c5dfa8c0
commit e65b72ea41

7
public/global.d.ts vendored
View File

@ -1,8 +1,12 @@
import libs from './lib';
import getContext from './scripts/st-context';
declare global {
// Global namespace modules
declare var ai;
interface Window {
ai: any;
}
declare var pdfjsLib;
declare var ePub;
@ -12,7 +16,6 @@ declare var SillyTavern: {
libs: typeof libs;
};
declare global {
// Jquery plugins
interface JQuery {
nanogallery2(options?: any): JQuery;