From 83bca4050293b1f6478c703dc736e245acbde993 Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Wed, 8 Jun 2022 17:39:17 +0200 Subject: [PATCH] TypeScript body fix --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 6622c42..7e59ba1 100644 --- a/index.d.ts +++ b/index.d.ts @@ -324,7 +324,7 @@ type RouterResponse = { * Either an `object` (will be converted to JSON) or a string */ body: { - [key: string]: string + [key: string]: any } | string /** * Upgraded websocket connection