@suluk/hono - v0.1.5
↑ Suluk
GitHub
Preparing search index...
mount
Function mount
mount
<
T
extends
Hono
<
BlankEnv
,
BlankSchema
,
"/"
>
>
(
app
:
T
,
routes
:
readonly
RouteContract
[]
,
)
:
T
Mount each contract's handler (with request validation derived from its Zod schemas) onto
app
.
Type Parameters
T
extends
Hono
<
BlankEnv
,
BlankSchema
,
"/"
>
Parameters
app
:
T
routes
:
readonly
RouteContract
[]
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
↑ Suluk
GitHub
@suluk/hono - v0.1.5
Loading...
Mount each contract's handler (with request validation derived from its Zod schemas) onto
app.