@storybook/csf 0.0.2-next.7 → 0.0.2-next.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -254,7 +254,7 @@ interface ComponentAnnotations<TRenderer extends Renderer = Renderer, TArgs = Ar
254
254
  * Used by addons for automatic prop table generation and display of other component metadata.
255
255
  */
256
256
  component?: (TRenderer & {
257
- T: Args extends TArgs ? any : TArgs;
257
+ T: Record<string, unknown> extends Required<TArgs> ? any : TArgs;
258
258
  })['component'];
259
259
  /**
260
260
  * Auxiliary subcomponents that are part of the stories.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/csf",
3
- "version": "0.0.2-next.7",
3
+ "version": "0.0.2-next.8",
4
4
  "description": "Component Story Format (CSF) utilities",
5
5
  "keywords": [
6
6
  "storybook",