feat: export Request and Handler types from index files
This commit is contained in:
parent
75d066cf36
commit
c3bb51f533
4
dist/index.d.ts
vendored
4
dist/index.d.ts
vendored
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user