mono-jsx 0.6.7 → 0.6.8
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/jsx-runtime.mjs +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +3 -3
package/jsx-runtime.mjs
CHANGED
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { FC } from "./jsx.d.ts";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* `
|
|
4
|
+
* `buildRoutes` creates a routing map for bun server.
|
|
5
5
|
*/
|
|
6
|
-
export function
|
|
6
|
+
export function buildRoutes(
|
|
7
7
|
handler: (req: Request) => Response,
|
|
8
8
|
): Record<string, (req: Request) => Response>;
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* `monoRoutes` creates a routing map for bun server.
|
|
12
|
-
* @deprecated Use `
|
|
12
|
+
* @deprecated Use `buildRoutes` instead.
|
|
13
13
|
*/
|
|
14
14
|
export function monoRoutes(
|
|
15
15
|
routes: Record<string, FC<any> | Promise<{ default: FC<any> }>>,
|