From 964a5d06bd6d1b1a47035d9e9f17c7b656450c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Sat, 26 Aug 2023 19:57:43 +0200 Subject: [PATCH] fix: simplify `ArgumentsTuple` (#2761) --- _internal/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_internal/src/types.ts b/_internal/src/types.ts index 139c8f1a7..e0215a7b5 100644 --- a/_internal/src/types.ts +++ b/_internal/src/types.ts @@ -295,7 +295,7 @@ export type Middleware = ( config: SWRConfiguration> ) => SWRResponse -type ArgumentsTuple = [any, ...unknown[]] | readonly [any, ...unknown[]] +type ArgumentsTuple = readonly [any, ...unknown[]] export type Arguments = | string | ArgumentsTuple