diff --git a/lib/core-common/src/types.ts b/lib/core-common/src/types.ts index aa21e92f3ff2..79e600d5c641 100644 --- a/lib/core-common/src/types.ts +++ b/lib/core-common/src/types.ts @@ -261,6 +261,11 @@ export type Preset = */ export type Entry = string; +type StorybookRefs = Record; + /** * The interface for Storybook configuration in `main.ts` files. */ @@ -329,6 +334,11 @@ export interface StorybookConfig { */ typescript?: Partial; + /** + * References external Storybooks + */ + refs?: StorybookRefs | ((config: Configuration, options: Options) => StorybookRefs) + /** * Modify or return a custom Webpack config. */