inferred-types 0.48.8 → 0.49.0

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.
@@ -3316,17 +3316,11 @@ var addFnToProps = (props, _clone_fn) => (fn2) => {
3316
3316
  return localFn;
3317
3317
  };
3318
3318
 
3319
- // src/runtime/type-conversion/mutable.ts
3320
- function mutable(value) {
3321
- return value;
3322
- }
3323
-
3324
3319
  // src/runtime/initializers/createFnWithProps.ts
3325
3320
  var createFnWithProps = (fn2, props, narrowing = false) => {
3326
3321
  let fnWithProps = fn2;
3327
- for (let prop of keysOf(props)) {
3328
- let p = mutable(prop);
3329
- fnWithProps[p] = props[p];
3322
+ for (let prop of Object.keys(props)) {
3323
+ fnWithProps[prop] = props[prop];
3330
3324
  }
3331
3325
  return isTrue(narrowing) ? fnWithProps : fnWithProps;
3332
3326
  };