Fix global.d.ts var declarations

e65b72ea4153d7a3b5f22ec1af325d6da760b1cf

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +13 -10Ignore whitespace
public/global.d.ts+13 -10
@@ -1,18 +1,21 @@
1import libs from './lib';1import libs from './lib';
2import getContext from './scripts/st-context';2import getContext from './scripts/st-context';
33
4// Global namespace modules4declare global {
5declare var ai;5 // Global namespace modules
6declare var pdfjsLib;6 interface Window {
7declare var ePub;7 ai: any;
8 }
89
9declare var SillyTavern: {10 declare var pdfjsLib;
10 getContext(): typeof getContext;11 declare var ePub;
11 llm: any;12
12 libs: typeof libs;13 declare var SillyTavern: {
13};14 getContext(): typeof getContext;
15 llm: any;
16 libs: typeof libs;
17 };
1418
15declare global {
16 // Jquery plugins19 // Jquery plugins
17 interface JQuery {20 interface JQuery {
18 nanogallery2(options?: any): JQuery;21 nanogallery2(options?: any): JQuery;