| 550 | }; |
| 551 | |
| 552 | const convertInitialStateToClassProperty = getInitialState => |
| 553 | withComments(j.classProperty( |
| 554 | j.identifier('state'), |
| 555 | pickReturnValueOrCreateIIFE(getInitialState.value), |
| 556 | getInitialState.value.returnType, |
| 557 | false |
| 558 | ), getInitialState); |
| 559 | |
| 560 | const createConstructorArgs = (hasContextAccess) => { |
| 561 | if (hasContextAccess) { |
no test coverage detected