inferred-types 0.53.6 → 0.53.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.
@@ -48,6 +48,7 @@ __export(src_exports, {
48
48
  createErrorCondition: () => createErrorCondition,
49
49
  createFifoQueue: () => createFifoQueue,
50
50
  createFnWithProps: () => createFnWithProps,
51
+ createFnWithPropsExplicit: () => createFnWithPropsExplicit,
51
52
  createLifoQueue: () => createLifoQueue,
52
53
  createTypeToken: () => createTypeToken,
53
54
  cssColor: () => cssColor,
@@ -2714,6 +2715,13 @@ function createFnWithProps(fn2, props, narrowing = false) {
2714
2715
  }
2715
2716
  return isTrue(narrowing) ? fnWithProps : fnWithProps;
2716
2717
  }
2718
+ function createFnWithPropsExplicit(fn2, props) {
2719
+ const fnWithProps = fn2;
2720
+ for (const prop of Object.keys(props)) {
2721
+ fnWithProps[prop] = props[prop];
2722
+ }
2723
+ return fnWithProps;
2724
+ }
2717
2725
 
2718
2726
  // src/initializers/defineObj.ts
2719
2727
  function defineObj(literal2 = {}) {
@@ -5188,6 +5196,7 @@ function asVueRef(value) {
5188
5196
  createErrorCondition,
5189
5197
  createFifoQueue,
5190
5198
  createFnWithProps,
5199
+ createFnWithPropsExplicit,
5191
5200
  createLifoQueue,
5192
5201
  createTypeToken,
5193
5202
  cssColor,