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