2026-08-24 06:08:38 +00:00
// Module ID: 12437
// Function ID: 12438
2026-07-20 16:05:17 +00:00
// Name: emptyFunction
2026-08-24 06:08:38 +00:00
// Dependencies: [12438]
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 12437 (emptyFunction)
2026-07-20 16:05:17 +00:00
function emptyFunction ( ) {
}
function emptyFunctionWithReset ( ) {
}
emptyFunctionWithReset . resetWarningCache = emptyFunction ;
export default ( ) => {
function shim ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 ) {
2026-07-29 08:29:29 +00:00
if ( arg5 !== shim ( table [ 0 ] ) ) {
2026-07-20 16:05:17 +00:00
const _Error = Error ;
2026-08-24 06:08:38 +00:00
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" ) ;
2026-07-20 16:05:17 +00:00
error . name = "Invariant Violation" ;
throw error ;
}
}
function getShim ( ) {
return shim ;
}
shim . isRequired = shim ;
2026-07-29 08:29:29 +00:00
const 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 } ;
obj . PropTypes = obj ;
2026-07-20 16:05:17 +00:00
return obj ;
} ;