bxo 0.0.5-dev.24 → 0.0.5-dev.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
@@ -90,7 +90,7 @@ export type Context<TConfig extends RouteConfig = {}> = {
|
|
90
90
|
};
|
91
91
|
|
92
92
|
// Handler function type with proper response typing
|
93
|
-
type Handler<TConfig extends RouteConfig = {}, EC = {}> = (ctx: Context<TConfig> & EC) => Promise<InferResponseType<TConfig['response']
|
93
|
+
type Handler<TConfig extends RouteConfig = {}, EC = {}> = (ctx: Context<TConfig> & EC) => Promise<InferResponseType<TConfig['response']> | any> | InferResponseType<TConfig['response']> | any;
|
94
94
|
|
95
95
|
// Route definition
|
96
96
|
interface Route {
|