diff --git a/templates/types/streaming/express/src/routes/chat.route.ts b/templates/types/streaming/express/src/routes/chat.route.ts index f935980c16130f3cfae6b6c36482089b6b996ee1..0fc0d4c958ea83876c9c53226e79be42c4a4e01e 100644 --- a/templates/types/streaming/express/src/routes/chat.route.ts +++ b/templates/types/streaming/express/src/routes/chat.route.ts @@ -1,8 +1,8 @@ -import express from "express"; +import express, { Router } from "express"; import { chatRequest } from "../controllers/chat-request.controller"; import { chat } from "../controllers/chat.controller"; -const llmRouter = express.Router(); +const llmRouter: Router = express.Router(); llmRouter.route("/").post(chat); llmRouter.route("/request").post(chatRequest);