From 492692c244a20d88d005d47ed9de769624c7e1fa Mon Sep 17 00:00:00 2001 From: Micha de Vries Date: Wed, 18 Oct 2023 12:33:07 +0200 Subject: [PATCH] Typing fixup --- project.json | 2 +- react.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project.json b/project.json index 27aae2b..2f7d1c6 100644 --- a/project.json +++ b/project.json @@ -1,3 +1,3 @@ { - "version": "0.4.0" + "version": "0.4.1" } diff --git a/react.ts b/react.ts index df70e5a..9936866 100644 --- a/react.ts +++ b/react.ts @@ -84,6 +84,6 @@ export function featureFlagsHookFactory( }); } - return [state, setState]; + return [state, setState] as const; }; }