<commit_before>import {
  Args as DefaultArgs,
  Annotations,
  BaseMeta,
  BaseStory,
  Parameters as DefaultParameters,
} from '@storybook/addons';
import { StoryFnAngularReturnType } from './types';

export { Args, ArgTypes, StoryContext } from '@storybook/addons';

type AngularComponent = any;
type AngularReturnType = StoryFnAngularReturnType;

/**
 * Metadata to configure the stories for a component.
 *
 * @see [Default export](https://storybook.js.org/docs/formats/component-story-format/#default-export)
 */
export type Meta<Args = DefaultArgs> = BaseMeta<AngularComponent> &
  Annotations<Args, AngularReturnType>;

/**
 * Story function that represents a component example.
 *
 * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
 */
export type Story<Args = DefaultArgs> = BaseStory<Args, AngularReturnType> &
  Annotations<Args, AngularReturnType>;

export type Parameters = DefaultParameters & {
  /** Uses legacy angular rendering engine that use dynamic component */
  angularLegacyRendering?: boolean;
  component: unknown;
};<commit_msg>fix(angular): add right Parameters type in StoryContext type<commit_after>import {
  Args as DefaultArgs,
  Annotations,
  BaseMeta,
  BaseStory,
  Parameters as DefaultParameters,
  StoryContext as DefaultStoryContext,
} from '@storybook/addons';
import { StoryFnAngularReturnType } from './types';

export { Args, ArgTypes } from '@storybook/addons';

type AngularComponent = any;
type AngularReturnType = StoryFnAngularReturnType;

/**
 * Metadata to configure the stories for a component.
 *
 * @see [Default export](https://storybook.js.org/docs/formats/component-story-format/#default-export)
 */
export type Meta<Args = DefaultArgs> = BaseMeta<AngularComponent> &
  Annotations<Args, AngularReturnType>;

/**
 * Story function that represents a component example.
 *
 * @see [Named Story exports](https://storybook.js.org/docs/formats/component-story-format/#named-story-exports)
 */
export type Story<Args = DefaultArgs> = BaseStory<Args, AngularReturnType> &
  Annotations<Args, AngularReturnType>;

export type Parameters = DefaultParameters & {
  /** Uses legacy angular rendering engine that use dynamic component */
  angularLegacyRendering?: boolean;
  component: unknown;
};

export type StoryContext = DefaultStoryContext & { parameters: Parameters };
{'fraction_non_alphanumeric': 0.11115771812080537, 'fraction_numerical': 0.0, 'mean_word_length': 5.25984251968504, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3006397', 'n_tokens_mistral': 670, 'n_tokens_neox': 657, 'n_words': 179}