fix: fix types

This commit is contained in:
2025-05-14 21:04:25 +08:00
parent fc35b531e1
commit aeeb205e1e
12 changed files with 64 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
export { Route, QueryRouter, QueryRouterServer } from './route.ts';
export { Connect, QueryConnect } from './connect.ts';
export type { RouteContext, RouteOpts } from './route.ts';
export type { RouteContext, RouteOpts, RouteMiddleware } from './route.ts';
export type { Run } from './route.ts';
@@ -14,3 +14,5 @@ export { CustomError } from './result/error.ts';
export { Rule, Schema, createSchema } from './validator/index.ts';
export { App } from './app.ts';
export * from './router-define.ts';