From 082234bd413983e1dcb7ba7515087f5e769f5f9f Mon Sep 17 00:00:00 2001 From: Bram Zijp Date: Sun, 11 Apr 2021 15:02:40 +0200 Subject: [PATCH] fix: dont mutate Story prop types to optional --- lib/addons/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addons/src/types.ts b/lib/addons/src/types.ts index 445e8b5731c4..8497e7f9f175 100644 --- a/lib/addons/src/types.ts +++ b/lib/addons/src/types.ts @@ -168,7 +168,7 @@ export interface BaseAnnotations { * Dynamic data that are provided (and possibly updated by) Storybook and its addons. * @see [Arg story inputs](https://storybook.js.org/docs/react/api/csf#args-story-inputs) */ - args?: Partial; + args?: Args; /** * ArgTypes encode basic metadata for args, such as `name`, `description`, `defaultValue` for an arg. These get automatically filled in by Storybook Docs.