mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
fix: add missing MergePath
(#936)
* fix: add missing `MergePath` * denoify
This commit is contained in:
parent
b0501e03cd
commit
7ba91208b9
@ -119,7 +119,7 @@ export interface HandlerInterface<
|
|||||||
H<E, MergePath<BasePath, P>, I2, O>,
|
H<E, MergePath<BasePath, P>, I2, O>,
|
||||||
H<E, MergePath<BasePath, P>, I3, 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)
|
// app.get(path, handler x4)
|
||||||
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3>(
|
<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>, I3, O>,
|
||||||
H<E, MergePath<BasePath, P>, I4, 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)
|
// app.get(path, handler x5)
|
||||||
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3, I5 = I3 & I4>(
|
<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>, I4, O>,
|
||||||
H<E, MergePath<BasePath, P>, I5, 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[])
|
// app.get(path, ...handlers[])
|
||||||
<P extends string, I = {}, O = {}>(
|
<P extends string, I = {}, O = {}>(
|
||||||
|
@ -119,7 +119,7 @@ export interface HandlerInterface<
|
|||||||
H<E, MergePath<BasePath, P>, I2, O>,
|
H<E, MergePath<BasePath, P>, I2, O>,
|
||||||
H<E, MergePath<BasePath, P>, I3, 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)
|
// app.get(path, handler x4)
|
||||||
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3>(
|
<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>, I3, O>,
|
||||||
H<E, MergePath<BasePath, P>, I4, 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)
|
// app.get(path, handler x5)
|
||||||
<P extends string, O = {}, I = {}, I2 = I, I3 = I & I2, I4 = I2 & I3, I5 = I3 & I4>(
|
<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>, I4, O>,
|
||||||
H<E, MergePath<BasePath, P>, I5, 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[])
|
// app.get(path, ...handlers[])
|
||||||
<P extends string, I = {}, O = {}>(
|
<P extends string, I = {}, O = {}>(
|
||||||
|
Loading…
Reference in New Issue
Block a user