From 0102b36e075cd0b0c3eb923c88bac03b10c733e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Sat, 26 Aug 2023 17:36:35 +0200 Subject: [PATCH] fix: simplify `ArgumentsTuple` --- _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