30 lines
1.1 KiB
JavaScript
30 lines
1.1 KiB
JavaScript
// Module ID: 12210
|
|
// Function ID: 95571
|
|
// Name: emptyFunction
|
|
// Dependencies: [12211]
|
|
|
|
// Module 12210 (emptyFunction)
|
|
function emptyFunction() {
|
|
|
|
}
|
|
function emptyFunctionWithReset() {
|
|
|
|
}
|
|
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
|
|
export default () => {
|
|
function shim(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
if (arg5 !== shim(outer1_1[0])) {
|
|
const _Error = Error;
|
|
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;
|
|
}
|
|
}
|
|
function getShim() {
|
|
return shim;
|
|
}
|
|
shim.isRequired = shim;
|
|
obj = { array: shim, bigint: shim, bool: shim, func: shim, number: shim, object: shim, string: shim, symbol: shim, any: shim, arrayOf: getShim, element: shim, elementType: shim, instanceOf: getShim, node: shim, objectOf: getShim, oneOf: getShim, oneOfType: getShim, shape: getShim, exact: getShim, checkPropTypes: emptyFunctionWithReset, resetWarningCache: emptyFunction, PropTypes: obj };
|
|
return obj;
|
|
};
|