Fix global.d.ts var declarations

e65b72ea4153d7a3b5f22ec1af325d6da760b1cf

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

1 files changed, +5 -2Showing whitespace changes
public/global.d.ts+5 -2
@@ -1,8 +1,12 @@
1import libs from './lib';1import libs from './lib';
2import getContext from './scripts/st-context';2import getContext from './scripts/st-context';
33
4declare global {
4 // Global namespace modules5 // Global namespace modules
5declare var ai;6 interface Window {
7 ai: any;
8 }
9
6 declare var pdfjsLib;10 declare var pdfjsLib;
7 declare var ePub;11 declare var ePub;
812
@@ -12,7 +16,6 @@ declare var SillyTavern: {
12 libs: typeof libs;16 libs: typeof libs;
13 };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;