(name)
| 88073 | Object.defineProperties(defaultProps, descriptors); |
| 88074 | } |
| 88075 | function getDescriptorForAsyncProp(name) { |
| 88076 | return { |
| 88077 | enumerable: true, |
| 88078 | set: function set(newValue) { |
| 88079 | if (typeof newValue === "string" || newValue instanceof Promise || (0, _iterableUtils.isAsyncIterable)(newValue)) this[ASYNC_ORIGINAL][name] = newValue; |
| 88080 | else this[ASYNC_RESOLVED][name] = newValue; |
| 88081 | }, |
| 88082 | get: function get() { |
| 88083 | if (this[ASYNC_RESOLVED]) { |
| 88084 | if (name in this[ASYNC_RESOLVED]) { |
| 88085 | var value = this[ASYNC_RESOLVED][name]; |
| 88086 | return value || this[ASYNC_DEFAULTS][name]; |
| 88087 | } |
| 88088 | if (name in this[ASYNC_ORIGINAL]) { |
| 88089 | var state = this[COMPONENT] && this[COMPONENT].internalState; |
| 88090 | if (state && state.hasAsyncProp(name)) return state.getAsyncProp(name) || this[ASYNC_DEFAULTS][name]; |
| 88091 | } |
| 88092 | } |
| 88093 | return this[ASYNC_DEFAULTS][name]; |
| 88094 | } |
| 88095 | }; |
| 88096 | } |
| 88097 | function hasOwnProperty(object, prop) { |
| 88098 | return Object.prototype.hasOwnProperty.call(object, prop); |
| 88099 | } |
no outgoing calls
no test coverage detected