1
0

TypeScript body fix

This commit is contained in:
2022-06-08 17:39:17 +02:00
parent d82f47b0da
commit 83bca40502

2
index.d.ts vendored
View File

@@ -324,7 +324,7 @@ type RouterResponse = {
* Either an `object` (will be converted to JSON) or a string * Either an `object` (will be converted to JSON) or a string
*/ */
body: { body: {
[key: string]: string [key: string]: any
} | string } | string
/** /**
* Upgraded websocket connection * Upgraded websocket connection