accessComponentState<TOtherState extends AFComponentState> method

TOtherState accessComponentState<TOtherState extends AFComponentState>()

Implementation

TOtherState accessComponentState<TOtherState extends AFComponentState>() {
  return statePublic.components.findState<TOtherState>()!;
}