0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-29 17:46:30 +01:00

fix: add missing MergePath (#936)

* fix: add missing `MergePath`

* denoify
This commit is contained in:
Yusuke Wada 2023-02-27 19:10:16 +09:00 committed by GitHub
parent b0501e03cd
commit 7ba91208b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -119,7 +119,7 @@ export interface HandlerInterface<
H<E, MergePath<BasePath, P>, I2, O>,
H<E, MergePath<BasePath, P>, I3, O>
]
): Hono<E, RemoveBlankRecord<S | Schema<M, P, I3, O>>>
): Hono<E, RemoveBlankRecord<S | Schema<M, MergePath<BasePath, P>, I3, O>>>
// app.get(path, handler x4)
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3>(
@ -130,7 +130,7 @@ export interface HandlerInterface<
H<E, MergePath<BasePath, P>, I3, O>,
H<E, MergePath<BasePath, P>, I4, O>
]
): Hono<E, RemoveBlankRecord<S | Schema<M, P, I4, O>>>
): Hono<E, RemoveBlankRecord<S | Schema<M, MergePath<BasePath, P>, I4, O>>>
// app.get(path, handler x5)
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3, I5 = I3 & I4>(
@ -142,7 +142,7 @@ export interface HandlerInterface<
H<E, MergePath<BasePath, P>, I4, O>,
H<E, MergePath<BasePath, P>, I5, O>
]
): Hono<E, RemoveBlankRecord<S | Schema<M, P, I5, O>>>
): Hono<E, RemoveBlankRecord<S | Schema<M, MergePath<BasePath, P>, I5, O>>>
// app.get(path, ...handlers[])
<P extends string, I = {}, O = {}>(

View File

@ -119,7 +119,7 @@ export interface HandlerInterface<
H<E, MergePath<BasePath, P>, I2, O>,
H<E, MergePath<BasePath, P>, I3, O>
]
): Hono<E, RemoveBlankRecord<S | Schema<M, P, I3, O>>>
): Hono<E, RemoveBlankRecord<S | Schema<M, MergePath<BasePath, P>, I3, O>>>
// app.get(path, handler x4)
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3>(
@ -130,7 +130,7 @@ export interface HandlerInterface<
H<E, MergePath<BasePath, P>, I3, O>,
H<E, MergePath<BasePath, P>, I4, O>
]
): Hono<E, RemoveBlankRecord<S | Schema<M, P, I4, O>>>
): Hono<E, RemoveBlankRecord<S | Schema<M, MergePath<BasePath, P>, I4, O>>>
// app.get(path, handler x5)
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3, I5 = I3 & I4>(
@ -142,7 +142,7 @@ export interface HandlerInterface<
H<E, MergePath<BasePath, P>, I4, O>,
H<E, MergePath<BasePath, P>, I5, O>
]
): Hono<E, RemoveBlankRecord<S | Schema<M, P, I5, O>>>
): Hono<E, RemoveBlankRecord<S | Schema<M, MergePath<BasePath, P>, I5, O>>>
// app.get(path, ...handlers[])
<P extends string, I = {}, O = {}>(