Fixing type.
This commit is contained in:
parent
48379021ef
commit
ce08276250
|
@ -47,7 +47,7 @@ export interface BBRequest<RequestBody> extends Request {
|
||||||
export interface Ctx<RequestBody = any, ResponseBody = any> extends Context {
|
export interface Ctx<RequestBody = any, ResponseBody = any> extends Context {
|
||||||
request: BBRequest<RequestBody>
|
request: BBRequest<RequestBody>
|
||||||
body: ResponseBody
|
body: ResponseBody
|
||||||
userAgent?: UserAgentContext["userAgent"]
|
userAgent: UserAgentContext["userAgent"]
|
||||||
state: { nonce?: string }
|
state: { nonce?: string }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue