storybook 9.0.5 → 9.0.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.
@@ -523,11 +523,15 @@ declare abstract class JsPackageManager {
523
523
  * @param {Array} dependencies Contains a list of packages to add.
524
524
  */
525
525
  addDependencies(options: {
526
- skipInstall?: boolean;
527
526
  installAsDevDependencies?: boolean;
528
- packageJson?: PackageJson;
529
527
  writeOutputToFile?: boolean;
530
- }, dependencies: string[]): Promise<void>;
528
+ } & ({
529
+ skipInstall?: false;
530
+ packageJson?: PackageJson;
531
+ } | {
532
+ skipInstall: true;
533
+ packageJson: PackageJson;
534
+ }), dependencies: string[]): Promise<void>;
531
535
  /**
532
536
  * Remove dependencies from a project using `yarn remove` or `npm uninstall`.
533
537
  *