From ef100c49fcddc6fd81964462e5033582f55e202b Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Thu, 30 Mar 2023 12:59:11 +0200 Subject: [PATCH] Turn Args interfaces into types when passed to decorator --- src/story.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/story.ts b/src/story.ts index 44d57c7..1ad3cf9 100644 --- a/src/story.ts +++ b/src/story.ts @@ -200,7 +200,7 @@ export type BaseAnnotations * Decorators defined in Meta will be applied to every story variation. * @see [Decorators](https://storybook.js.org/docs/addons/introduction/#1-decorators) */ - decorators?: DecoratorFunction[]; + decorators?: DecoratorFunction>[]; /** * Custom metadata for a story.