(
private moduleManager: ModuleManager,
public moduleDef: ModuleDefinition<S, A>
)
| 5 | private _state: S | undefined; |
| 6 | |
| 7 | constructor( |
| 8 | private moduleManager: ModuleManager, |
| 9 | public moduleDef: ModuleDefinition<S, A> |
| 10 | ) {} |
| 11 | |
| 12 | get state(): S { |
| 13 | if (!this.moduleDef.createState) return undefined as S; |
nothing calls this directly
no outgoing calls
no test coverage detected