This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
// Metro module 12254 (f12255).
import * as _Module12255 from "./Module12255";
let emptyFunctionWithReset;
const emptyFunction = function emptyFunction() {};
emptyFunctionWithReset = function emptyFunctionWithReset() {};
emptyFunctionWithReset.resetWarningCache = emptyFunction;
module.exports = function() {
const shim2 = function shim(a0, a1, a2, a3, a4, a5) {
if (a5 !== _Module12255) {
const error = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
error.name = "Invariant Violation";
throw error;
}
};
const getShim = function getShim() {
return shim2;
};
shim2.isRequired = shim2;
const PropTypes = {
array: shim2,
bigint: shim2,
bool: shim2,
func: shim2,
number: shim2,
object: shim2,
string: shim2,
symbol: shim2,
any: shim2,
arrayOf: getShim,
element: shim2,
elementType: shim2,
instanceOf: getShim,
node: shim2,
objectOf: getShim,
oneOf: getShim,
oneOfType: getShim,
shape: getShim,
exact: getShim,
checkPropTypes: emptyFunctionWithReset,
resetWarningCache: emptyFunction
};
PropTypes.PropTypes = PropTypes;
return PropTypes;
};