decord/source/__polyfill/04xxx/module_4468.js
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

30 lines
1.1 KiB
JavaScript

// Module ID: 4468
// Function ID: 4469
// Dependencies: [4469]
// Module 4468
function emptyFunction() {
}
function emptyFunctionWithReset() {
}
emptyFunctionWithReset.resetWarningCache = emptyFunction;
export default () => {
function shim(arg0, arg1, arg2, arg3, arg4, arg5) {
if (arg5 !== shim(dependencyMap[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;
const obj = { array: 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 };
obj.PropTypes = obj;
return obj;
};