@dnax/core 0.63.11 → 0.63.13
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/package.json +1 -1
- package/types/index.ts +3 -3
package/package.json
CHANGED
package/types/index.ts
CHANGED
|
@@ -628,7 +628,7 @@ export type routeOption = {
|
|
|
628
628
|
}) => any;
|
|
629
629
|
};
|
|
630
630
|
|
|
631
|
-
export type serveStatic = (cf: { root: string }) =>
|
|
631
|
+
export type serveStatic = (cf: { root: string }) => any;
|
|
632
632
|
export type endpointCtx = {
|
|
633
633
|
enabled: boolean;
|
|
634
634
|
handler: (ctx: {
|
|
@@ -636,10 +636,10 @@ export type endpointCtx = {
|
|
|
636
636
|
rest: InstanceType<typeof useRest>;
|
|
637
637
|
io: socketIoType;
|
|
638
638
|
router: {
|
|
639
|
-
post: (path: string, clb: (c: Context) =>
|
|
639
|
+
post: (path: string, clb: (c: Context) => any) => {};
|
|
640
640
|
get: (
|
|
641
641
|
path: string,
|
|
642
|
-
clb: (c: Context, serveStatic: serveStatic) =>
|
|
642
|
+
clb: (c: Context, serveStatic: serveStatic) => any
|
|
643
643
|
) => {};
|
|
644
644
|
};
|
|
645
645
|
}) => any;
|