@storybook/csf 0.0.2-next.7 → 0.0.2-next.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -1
- 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:
|
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.
|