From bf7676120e7ed1c106f663c06f3d5e608e4f4338 Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Sat, 2 Mar 2024 10:30:21 -0700 Subject: [PATCH] fix: incorrect types for Meta with decorators/loaders (#23) * fix: incorrect types for Meta with decorators/loaders --- .changeset/dirty-ways-change.md | 5 +++++ packages/renderers/marko/src/public-types.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/dirty-ways-change.md diff --git a/.changeset/dirty-ways-change.md b/.changeset/dirty-ways-change.md new file mode 100644 index 0000000000..9feb839a03 --- /dev/null +++ b/.changeset/dirty-ways-change.md @@ -0,0 +1,5 @@ +--- +"@storybook/marko": patch +--- + +Fix incorrect types for Meta with decorators/loaders diff --git a/packages/renderers/marko/src/public-types.ts b/packages/renderers/marko/src/public-types.ts index e1024204b5..fbef1e49b0 100644 --- a/packages/renderers/marko/src/public-types.ts +++ b/packages/renderers/marko/src/public-types.ts @@ -19,7 +19,7 @@ export type { Args, ArgTypes, Parameters, StrictArgs } from "@storybook/types"; * @see [Default export](https://storybook.js.org/docs/formats/component-story-format/#default-export) */ export type Meta = ComponentAnnotations< - MarkoRenderer, + MarkoRenderer, Input >;