@kubb/plugin-ts 4.1.2 → 4.1.3

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.
@@ -1255,8 +1255,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
1255
1255
  function setCurrentlyValidatingElement$1(element) {
1256
1256
  if (element) {
1257
1257
  var owner = element._owner;
1258
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1259
- setExtraStackFrame(stack);
1258
+ setExtraStackFrame(describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null));
1260
1259
  } else setExtraStackFrame(null);
1261
1260
  }
1262
1261
  var propTypesMisspellWarningShown = false;
@@ -1362,8 +1361,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
1362
1361
  checkPropTypes(propTypes, element.props, "prop", name, element);
1363
1362
  } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
1364
1363
  propTypesMisspellWarningShown = true;
1365
- var _name = getComponentNameFromType(type);
1366
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
1364
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", getComponentNameFromType(type) || "Unknown");
1367
1365
  }
1368
1366
  if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1369
1367
  }
@@ -1959,4 +1957,4 @@ Object.defineProperty(exports, '__toESM', {
1959
1957
  return __toESM;
1960
1958
  }
1961
1959
  });
1962
- //# sourceMappingURL=components-3SwDb74W.cjs.map
1960
+ //# sourceMappingURL=components-GsgfMVz2.cjs.map