From 9d8471042e14db4e0ba66fcd26ca0f662fa8a5d5 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Thu, 6 Oct 2022 17:35:55 +0200 Subject: [PATCH] make T optional --- src/story.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/story.ts b/src/story.ts index 069a2d5..9372b71 100644 --- a/src/story.ts +++ b/src/story.ts @@ -55,7 +55,7 @@ export type AnyFramework = { // component: (args: this['T']) => string; // This generic type will eventually be filled in with TArgs // Credits to Michael Arnaldi. - T: unknown; + T?: unknown; }; export type StoryContextForEnhancers<