MCPcopy Create free account
hub / github.com/ccj-007/easy-lowcode / wt

Function wt

renderer/index.js:1246–1264  ·  view source on GitHub ↗
(e, r, a, o, i)

Source from the content-addressed store, hash-verified

1244 Hr.setExtraStackFrame(null);
1245 }
1246 function wt(e, r, a, o, i) {
1247 {
1248 var y = Function.call.bind(ke);
1249 for (var f in e)
1250 if (y(e, f)) {
1251 var m = void 0;
1252 try {
1253 if (typeof e[f] != "function") {
1254 var R = Error((o || "React class") + ": " + a + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1255 throw R.name = "Invariant Violation", R;
1256 }
1257 m = e[f](r, f, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1258 } catch (P) {
1259 m = P;
1260 }
1261 m && !(m instanceof Error) && (fr(i), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", a, f, typeof m), fr(null)), m instanceof Error && !(m.message in qr) && (qr[m.message] = !0, fr(i), l("Failed %s type: %s", a, m.message), fr(null));
1262 }
1263 }
1264 }
1265 function Me(e) {
1266 if (e) {
1267 var r = e._owner, a = cr(e.type, e._source, r ? r.type : null);

Callers 1

QrFunction · 0.85

Calls 2

frFunction · 0.85
lFunction · 0.70

Tested by

no test coverage detected