UNPKG

383 BTypeScriptView Raw
1import { Parameters } from '@storybook/addons';
2/**
3 * Safely combine parameters recursively. Only copy objects when needed.
4 * Algorithm = always overwrite the existing value UNLESS both values
5 * are plain objects. In this case flag the key as "special" and handle
6 * it with a heuristic.
7 */
8export declare const combineParameters: (...parameterSets: Parameters[]) => Parameters;