mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix jquery plugins typedef
This commit is contained in:
6
public/global.d.ts
vendored
6
public/global.d.ts
vendored
@@ -11,8 +11,9 @@ declare var SillyTavern: {
|
|||||||
libs: typeof libs;
|
libs: typeof libs;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Jquery plugins
|
declare global {
|
||||||
interface JQuery {
|
// Jquery plugins
|
||||||
|
interface JQuery {
|
||||||
nanogallery2(options?: any): JQuery;
|
nanogallery2(options?: any): JQuery;
|
||||||
nanogallery2(method: string, options?: any): JQuery;
|
nanogallery2(method: string, options?: any): JQuery;
|
||||||
pagination(method: 'getCurrentPageNum'): number;
|
pagination(method: 'getCurrentPageNum'): number;
|
||||||
@@ -108,6 +109,7 @@ interface JQuery {
|
|||||||
sortable(method: 'option', options: SortableOptions): JQuery;
|
sortable(method: 'option', options: SortableOptions): JQuery;
|
||||||
|
|
||||||
//#endregion
|
//#endregion
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//#region select2
|
//#region select2
|
||||||
|
Reference in New Issue
Block a user