From 33f8cd42416ba45fe281f5e0e68ff00bec176519 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:18:34 +0300 Subject: [PATCH] Add typehints for libs --- public/global.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/global.d.ts b/public/global.d.ts index d0311fffe..f42b2e8d0 100644 --- a/public/global.d.ts +++ b/public/global.d.ts @@ -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