feat: export Request and Handler types from index files

This commit is contained in:
Flummi 2025-03-19 13:36:39 +01:00
parent 75d066cf36
commit c3bb51f533
2 changed files with 3 additions and 3 deletions

4
dist/index.d.ts vendored
View File

@ -1,7 +1,7 @@
import Router from "./router.js";
import Tpl from "./template.js";
import { Handler } from "./types.js";
export { Router, Tpl };
import { Request, Handler } from "./types.js";
export { Router, Tpl, Request, Handler };
export default class Flummpress {
private server?;
router: Router;

View File

@ -7,7 +7,7 @@ import Tpl from "./template.js";
import { Request, Response, Handler } from "./types.js";
export { Router, Tpl };
export { Router, Tpl, Request, Handler };
export default class Flummpress {
private server?: http.Server;