@storybook/csf 0.1.2--canary.71.a3cacc5.0 → 0.1.2--canary.71.b1f85ff.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -190,7 +190,7 @@ type BaseAnnotations<TRenderer extends Renderer = Renderer, TArgs = Args> = {
190
190
  * Asynchronous functions which provide data for a story.
191
191
  * @see [Loaders](https://storybook.js.org/docs/react/writing-stories/loaders)
192
192
  */
193
- loaders?: LoaderFunction<TRenderer, TArgs>[];
193
+ loaders?: LoaderFunction<TRenderer, TArgs>[] | LoaderFunction<TRenderer, TArgs>;
194
194
  /**
195
195
  * Define a custom render function for the story(ies). If not passed, a default render function by the renderer will be used.
196
196
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/csf",
3
- "version": "0.1.2--canary.71.a3cacc5.0",
3
+ "version": "0.1.2--canary.71.b1f85ff.0",
4
4
  "description": "Component Story Format (CSF) utilities",
5
5
  "keywords": [
6
6
  "storybook",