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

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Simplify, UnionToIntersection } from 'type-fest';
1
+ import { Simplify, RemoveIndexSignature, UnionToIntersection } from 'type-fest';
2
2
 
3
3
  interface SBBaseType {
4
4
  required?: boolean;
@@ -313,7 +313,7 @@ declare type ArgsFromMeta<TRenderer extends Renderer, Meta> = Meta extends {
313
313
  render?: ArgsStoryFn<TRenderer, infer RArgs>;
314
314
  loaders?: (infer Loaders)[];
315
315
  decorators?: (infer Decorators)[];
316
- } ? Simplify<RArgs & DecoratorsArgs<TRenderer, Decorators> & LoaderArgs<TRenderer, Loaders>> : unknown;
316
+ } ? Simplify<RemoveIndexSignature<RArgs & DecoratorsArgs<TRenderer, Decorators> & LoaderArgs<TRenderer, Loaders>>> : unknown;
317
317
  declare type DecoratorsArgs<TRenderer extends Renderer, Decorators> = UnionToIntersection<Decorators extends DecoratorFunction<TRenderer, infer TArgs> ? TArgs : unknown>;
318
318
  declare type LoaderArgs<TRenderer extends Renderer, Loaders> = UnionToIntersection<Loaders extends LoaderFunction<TRenderer, infer TArgs> ? TArgs : unknown>;
319
319
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/csf",
3
- "version": "0.0.2-next.6",
3
+ "version": "0.0.2-next.7",
4
4
  "description": "Component Story Format (CSF) utilities",
5
5
  "keywords": [
6
6
  "storybook",