inferred-types 0.53.7 → 0.53.9

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.
@@ -247,6 +247,7 @@ __export(src_exports, {
247
247
  createErrorCondition: () => createErrorCondition,
248
248
  createFifoQueue: () => createFifoQueue,
249
249
  createFnWithProps: () => createFnWithProps,
250
+ createFnWithPropsExplicit: () => createFnWithPropsExplicit,
250
251
  createLifoQueue: () => createLifoQueue,
251
252
  createTypeToken: () => createTypeToken,
252
253
  cssColor: () => cssColor,
@@ -5290,6 +5291,13 @@ function createFnWithProps(fn2, props, narrowing = false) {
5290
5291
  }
5291
5292
  return isTrue(narrowing) ? fnWithProps : fnWithProps;
5292
5293
  }
5294
+ function createFnWithPropsExplicit(fn2, props) {
5295
+ const fnWithProps = fn2;
5296
+ for (const prop of Object.keys(props)) {
5297
+ fnWithProps[prop] = props[prop];
5298
+ }
5299
+ return fnWithProps;
5300
+ }
5293
5301
  function defineObj(literal2 = {}) {
5294
5302
  return (wide22 = {}) => {
5295
5303
  const obj = literal2 ? { ...literal2, ...wide22 } : wide22;
@@ -7728,6 +7736,7 @@ var ExifSaturation = /* @__PURE__ */ ((ExifSaturation2) => {
7728
7736
  createErrorCondition,
7729
7737
  createFifoQueue,
7730
7738
  createFnWithProps,
7739
+ createFnWithPropsExplicit,
7731
7740
  createLifoQueue,
7732
7741
  createTypeToken,
7733
7742
  cssColor,