@dnax/core 0.63.10 → 0.63.12
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/app/hono.ts +1 -0
- package/package.json +1 -1
- package/types/index.ts +3 -2
package/app/hono.ts
CHANGED
package/package.json
CHANGED
package/types/index.ts
CHANGED
|
@@ -632,13 +632,14 @@ export type serveStatic = (cf: { root: string }) => void;
|
|
|
632
632
|
export type endpointCtx = {
|
|
633
633
|
enabled: boolean;
|
|
634
634
|
handler: (ctx: {
|
|
635
|
+
serveStatic: serveStatic;
|
|
635
636
|
rest: InstanceType<typeof useRest>;
|
|
636
637
|
io: socketIoType;
|
|
637
638
|
router: {
|
|
638
|
-
post: (path: string, clb: (c: Context) =>
|
|
639
|
+
post: (path: string, clb: (c: Context) => any) => {};
|
|
639
640
|
get: (
|
|
640
641
|
path: string,
|
|
641
|
-
clb: (c: Context, serveStatic: serveStatic) =>
|
|
642
|
+
clb: (c: Context, serveStatic: serveStatic) => any
|
|
642
643
|
) => {};
|
|
643
644
|
};
|
|
644
645
|
}) => any;
|