@kubb/plugin-ts 4.1.3 → 4.1.4

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.
@@ -1250,7 +1250,8 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
1250
1250
  function setCurrentlyValidatingElement$1(element) {
1251
1251
  if (element) {
1252
1252
  var owner = element._owner;
1253
- setExtraStackFrame(describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null));
1253
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1254
+ setExtraStackFrame(stack);
1254
1255
  } else setExtraStackFrame(null);
1255
1256
  }
1256
1257
  var propTypesMisspellWarningShown = false;
@@ -1356,7 +1357,8 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
1356
1357
  checkPropTypes(propTypes, element.props, "prop", name, element);
1357
1358
  } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
1358
1359
  propTypesMisspellWarningShown = true;
1359
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", getComponentNameFromType(type) || "Unknown");
1360
+ var _name = getComponentNameFromType(type);
1361
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
1360
1362
  }
1361
1363
  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.");
1362
1364
  }
@@ -1935,4 +1937,4 @@ function Type$1({ name, typedName, tree, keysToOmit, schema, optionalType, synta
1935
1937
 
1936
1938
  //#endregion
1937
1939
  export { OasType, Type$1 as Type };
1938
- //# sourceMappingURL=components-DLoXwJfh.js.map
1940
+ //# sourceMappingURL=components-CSEFpzdz.js.map