2025-06-21 23:30:33 +03:00

8 lines
334 B
JavaScript

export const getOptions = (options, key) =>
/**
* TODO: Make test for this
* Always return a new object otherwise delay is overwritten by results of stagger
* and this results in no stagger
*/
options[key] ? Object.assign(Object.assign({}, options), options[key]) : Object.assign({}, options);
//# sourceMappingURL=options.js.map