From beeb013b286501c7c8ee877235474ce11fb46783 Mon Sep 17 00:00:00 2001 From: Rizky Date: Fri, 5 Jul 2024 10:18:25 +0700 Subject: [PATCH] fix --- app/srv/ws/sync/code/templates/typings/global_d_ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/srv/ws/sync/code/templates/typings/global_d_ts b/app/srv/ws/sync/code/templates/typings/global_d_ts index 12b50d8b..3cdd4330 100644 --- a/app/srv/ws/sync/code/templates/typings/global_d_ts +++ b/app/srv/ws/sync/code/templates/typings/global_d_ts @@ -58,6 +58,8 @@ declare global { server: Server; mode: "dev" | "prod"; handle: (req: Request) => Promise; + serveStatic?: any; + serveAPI?: any; index: { head: string[]; body: string[]; render: () => string }; prasi: { page_id?: string; params?: Record }; }) => Promise;