From b54817187b4c6cd7c30c613424e8dab0c538dbe3 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 18 Sep 2023 12:46:49 +0200 Subject: [PATCH] Merge pull request #24206 from storybookjs/norbert/improve-type-of-statusupdate Types: Allow `null` in value of `experimental_updateStatus` to clear status (cherry picked from commit 2bf4dc506aa3cefce0cbdde3e8306125297ae700) --- code/lib/types/src/modules/api-stories.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/types/src/modules/api-stories.ts b/code/lib/types/src/modules/api-stories.ts index 45acc19e35c7..b6c150242a2a 100644 --- a/code/lib/types/src/modules/api-stories.ts +++ b/code/lib/types/src/modules/api-stories.ts @@ -183,7 +183,7 @@ export interface API_StatusObject { } export type API_StatusState = Record>; -export type API_StatusUpdate = Record; +export type API_StatusUpdate = Record; export type API_FilterFunction = ( item: API_PreparedIndexEntry & { status: Record }