Skip to content

Commit

Permalink
fix: incorrect types for Meta with decorators/loaders (#23)
Browse files Browse the repository at this point in the history
* fix: incorrect types for Meta with decorators/loaders
  • Loading branch information
DylanPiercey committed Mar 2, 2024
1 parent 9086fbd commit bf76761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dirty-ways-change.md
@@ -0,0 +1,5 @@
---
"@storybook/marko": patch
---

Fix incorrect types for Meta with decorators/loaders
2 changes: 1 addition & 1 deletion packages/renderers/marko/src/public-types.ts
Expand Up @@ -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<Input extends Args = Args> = ComponentAnnotations<
MarkoRenderer<Input>,
MarkoRenderer,
Input
>;

Expand Down

0 comments on commit bf76761

Please sign in to comment.