(value, propName)
| 265 | } |
| 266 | } |
| 267 | function checkPropStringCoercion(value, propName) { |
| 268 | { |
| 269 | if (willCoercionThrow(value)) { |
| 270 | error('The provided `%s` prop is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); |
| 271 | |
| 272 | return testStringCoercion(value); // throw (to help callers find troubleshooting comments) |
| 273 | } |
| 274 | } |
| 275 | } |
| 276 | function checkCSSPropertyStringCoercion(value, propName) { |
| 277 | { |
| 278 | if (willCoercionThrow(value)) { |
no test coverage detected
searching dependent graphs…