Skip to content

Commit

Permalink
make T optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Oct 10, 2022
1 parent fbf3c7a commit 9d84710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/story.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand Down

0 comments on commit 9d84710

Please sign in to comment.